Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2003 20:03:50 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Permission Denied on passwd
Message-ID:  <20030303180350.GA6597@straylight.oblivion.bg>
In-Reply-To: <200303031528.h23FScje002664@dc.cis.okstate.edu>
References:  <200303031528.h23FScje002664@dc.cis.okstate.edu>

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

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 03, 2003 at 09:28:38AM -0600, Martin McCormick wrote:
> 	What might cause all users except root to get "permission denied"
> every time they try to change their passwords on a new system?
>=20
> 	Here's the scenario:
>=20
> $ passwd
> Changing local password for martin.
> Old password:
> passwd: Permission denied
> passwd: /etc/master.passwd: unchanged
> $
>=20
> 	I have checked permissions on /etc/master.passwd and
> /etc/passwd and they agree with the corresponding files on
> another 4.7 system that works.
>=20
> $ ls -l /etc/*passwd
> -rw-------  1 root  wheel  1605 Mar  3 08:12 /etc/master.passwd
> -rw-r--r--  1 root  wheel  1367 Mar  3 08:12 /etc/passwd
> $ cd /
> $ ls -l |grep usr
> drwxr-xr-x  16 root  wheel      512 Nov 11 11:34 usr
> $ ls -l /usr/bin/passwd
> -r-sr-xr-x  2 root  wheel  32504 Oct  9 07:51 /usr/bin/passwd

Just a wild guess: you have not mounted /usr with the 'nosuid'
mount option, have you?

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
The rest of this sentence is written in Thailand, on

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Y5kF7Ri2jRYZRVMRAkIOAKCReii8wSEfs/g2iuQpF/mmrLIXrACgniXS
k/6oAViZIBOvaSCm1DYmB0o=
=bjbU
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--

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




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