Subject: Re: passwd fails for users not in wheel group
To: Laine Stump <lainestump@rcn.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 03/21/2001 09:29:05
On Tue, Mar 20, 2001 at 03:49:52PM -0500, Laine Stump wrote:
> Well, the manpage may not be totally correct, but neither is that -
> notice the use of the _PATH_MASTERPASSWD in local_passwd.c.

Does the "permission denied" appear once you've typed the old passwd,
or immediatly ?

> 
> Anyway, those file look like this on my system:
> 
>    -rw-r--r--  1 root  wheel  40960 Mar 10 14:05 /etc/pwd.db
>    -rw-------  1 root  wheel  40960 Mar 10 14:05 /etc/spwd.db
> 
> which seems reasonable.
> 
> I *must* be overlooking something really stupid... (another problem
> I've been having just came to my mind - for some reason, when I ftp
> from this machine, it always suggests the username "root" instead of
> my own username. I wonder if the two problems might be somehow
> related...)

Check permissions on the directories too (/etc, /tmp, /var/tmp)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--