Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 17:22:50 -0700
From:      Gregory Carvalho <GregoryC@stcinc.com>
To:        Chris England <cengland@obscurity.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: passwd problem
Message-ID:  <3CE9935A.53894EB5@stcinc.com>
References:  <001801c20027$9d31b400$351b35d1@win98>

next in thread | previous in thread | raw e-mail | index | archive | help
Perhaps the file permissions are off. Here they are off of FreeBSD 4.5

/etc# ls -loaF *pwd.db *passwd* /usr/bin/passwd
-r-sr-xr-x  2 root  wheel  - 30776 Jan 28 05:15 /usr/bin/passwd*
-rw-------  1 root  wheel  -  1182 Apr  1 17:13 master.passwd
-rw-r--r--  1 root  wheel  -  1059 Apr  1 17:13 passwd
-rw-r--r--  1 root  wheel  - 40960 Apr  1 17:13 pwd.db
-rw-------  1 root  wheel  - 40960 Apr  1 17:13 spwd.db

The samba password sounds like it could have a problem other than
permissions.

Chris England wrote:
> 
> I am having difficulties changing passwords while logged in as a normal
> user.  Any similar experiences?
> 
> stab@absolute ~>uname -a
> FreeBSD absolute.best.ca 4.6-RC FreeBSD 4.6-RC #5: Thu May 16 19:37:27 PDT
> 2002     root@absolute.best.ca:/usr/src/sys/compile/oblivion  i386
> 
> stab@absolute ~>passwd
> Changing local password for stab.
> Old password:
> passwd: Permission denied
> passwd: /etc/master.passwd: unchanged
> 
> stab@absolute ~>smbpasswd
> Old SMB password:
> New SMB password:
> Retype new SMB password:
> machine 127.0.0.1 rejected the password change: Error was : RAP86: The
> specified password is invalid.
> Failed to change password for stab

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CE9935A.53894EB5>