Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 21:44:58 -0500 (EST)
From:      Omachonu Ogali <oogali@intranova.net>
To:        Matthew McGehrin <matthew@subnetmask.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: weird passwd problem
Message-ID:  <Pine.BSF.4.10.10001062142450.13732-100000@hydrant.intranova.net>
In-Reply-To: <20000106034135.46B7610F4F@quake3.idgames.com>

next in thread | previous in thread | raw e-mail | index | archive | help
chown root.wheel /usr/bin/passwd
chmod 4555 /usr/bin/passwd

See if setting those permissions (defaults) restore
normal activity.

Omachonu Ogali
Intranova Networking Group

On Wed, 5 Jan 2000, Matthew McGehrin wrote:

> I accidently changed some permisions around and now
> only users in the 'wheel' group can run the 'passwd; command.
> 
> quake2# ls -ald passwd
> -r-sr-sr-x  2 root  bin  23984 Sep 16 17:47 passwd
> 
> Any idea's?
> 
> Below is debug info:
> quake2: {1} % pwd
> /usr/home/support
> quake2: {2} % id
> uid=1021(support) gid=1111(friends) groups=1111(friends)
> quake2: {3} % passwd
> passwd: Permission denied
> quake2: {4} % /usr/bin/passwd
> passwd: Permission denied
> 
> quake2: {6} % more /etc/group | grep 1111
> friends:*:1111:
> 
> quake2: {8} % ls -ald *pass*
> -rw-------  1 root  wheel  8314 Jan  5 21:23 master.passwd
> -rw-r--r--  1 root  wheel  5473 Jan  5 21:23 passwd
> -rw-r--r--  1 root  wheel   775 Jan  5 13:48 passwd.orig
> 
> quake2: {10} % ls -al *spw*
> -rw-------  1 root  wheel  57344 Jan  5 21:23 spwd.db
> 
> 
> end
> ###
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001062142450.13732-100000>