Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2004 23:04:14 -0600
From:      Elvedin <mnsan11@earthlink.net>
To:        Mark <admin@asarian-host.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: passwd
Message-ID:  <405E73CE.9000302@earthlink.net>
In-Reply-To: <200403220435.I2M4ZU9B075450@asarian-host.net>
References:  <405E580A.2040305@earthlink.net> <200403220435.I2M4ZU9B075450@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark wrote:

>----- Original Message ----- 
>From: "Elvedin" <mnsan11@earthlink.net>
>To: <freebsd-questions@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
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>
drwxr-xr-x  17 root  wheel  -    2048 Mar 21 21:57 etc
-rwxr--r--  1 root  wheel  - 40960 Mar 21 21:57 pwd.db
-rwxr-xr-x  2 root  wheel  - 32824 Oct 27 09:31 passwd

I didn't change passwd or anything related to it at all and I think this 
has existed since the install since it has been brought to my attention 
just recently but I didn't notice it before since I was always root and 
changed my passwords from there.

-- 
Elvedin T.

sysadmin.ods.org <http://sysadmin.ods.org>;

ODS.org <http://www.ods.org>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405E73CE.9000302>