Date: Sat, 08 May 1999 16:46:32 -0400 From: Laurence Berland <stuyman@confusion.net> To: Pedro Leitao <pete@jeeves.poopie.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: passwd Message-ID: <3734A2A8.959ABADD@confusion.net> References: <Pine.BSF.4.05.9905081449590.13196-100000@jeeves.poopie.net>
next in thread | previous in thread | raw e-mail | index | archive | help
It needs to be suid so that it runs as root, otherwise it can't access
the files that it needs to.
Solution:
cd /usr/bin
chmod 2555 passwd
and it should work
Pedro Leitao wrote:
>
> before doing anything passwd's permissions where
> -r-sr-xr-x 2 root wheel 24976 Feb 15 10:44 /usr/bin/passwd
> ^See the S?
> now after screwing around I get
> -r-xr-xr-x 2 root wheel 24976 Feb 15 10:44 /usr/bin/passwd
> ^Now it's gone
> when a user tries to change his password it gets this
> passwd: error opening database: /etc/pwd.db.: Permission denied
> passwd: /etc/master.passwd: unchanged
>
--
Laurence Berland, Stuyvesant HS Debate
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Windows 98: n.
useless extension to a minor patch release for
32-bit extensions and a graphical shell for a
16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor,
written by a 2-bit company that can't stand for
1 bit of competition.
http://stuy.debate.net
icq #7434346 aol imer E1101
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?3734A2A8.959ABADD>
