passwd

Mark admin at asarian-host.net
Sun Mar 21 20:35:32 PST 2004


----- Original Message ----- 
From: "Elvedin" <mnsan11 at earthlink.net>
To: <freebsd-questions at freebsd.org>
Sent: Monday, March 22, 2004 5:06 AM
Subject: passwd


> My problem that exists with passwd is when regular users try to
> change their passwords, they get this message -
>
> passwd: error opening database: /etc/pwd.db.: Permission denied
> passwd: /etc/master.passwd: unchanged
>
> I've search and came up with nothing really but some things I've
> tried is adding the users to the wheel group, remaking the pwd
> database file and even setting pwd.db to 777 and still permission
> was denied.

644 should be the proper permission on /etc/pwd.db. And is /usr/bin/passwd
still setuid root?

Did you set any special flags on /etc/pwd.db? Like sunlnk, schg? (ls -lo
will tell). And what are the permissions on /etc itself?

- Mark



More information about the freebsd-questions mailing list