Re: /etc/shadow
On Tue, Jan 09, 2001 at 10:24:14AM +1100, Marc-Adrian Napoli wrote:
> why, when i have the following:
>
> machine:/etc# ls -la shadow
> -rw-r----- 1 root root 1761 Jan 9 10:34 shadow
>
> and then i run "passwd" to change my pasword are the permissions changed as
> such:
>
> machine:/etc# ls -la shadow
> -rw-r----- 1 root ppp 1761 Jan 9 10:34 shadow
>
> ?? group ppp has gid of 42 on my system and that includes all our users.
phil:~% less /etc/group | grep 42
shadow:x:42:
phil:~% ls -l /etc/shadow
-rw-r----- 1 root shadow 1215 Jan 5 23:31 /etc/shadow
Do you have the group "shadow" on your system?
> i dont want our users to be able to see the shadow file but the permissions
> keep getting changed everytime i change someones password!
Of course. Users should not be able to read the /etc/shadow
Phil
Reply to:
- References:
- packages
- From: "Antonio A. Lobato" <tom@splicenet.com.br>
- Re: packages
- From: cjw44@flatline.org.uk (Colin Watson)
- /etc/shadow
- From: "Marc-Adrian Napoli" <marcadrian@cia.com.au>