LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   passwd permissions (http://www.linuxquestions.org/questions/linux-general-1/passwd-permissions-12125/)

DiBosco 01-19-2002 02:06 PM

passwd permissions
 
I've got a weird thing where if I set:

chown 604 passwd

it always comes back as 600 after a reboot.

Is there something somewhere in the rc files that sets the passwd file in /etc to ownership 600?

Cheers,

Rob

PS This manifests itself in:

I have no name!@computername

Seems to happen in Mandrake, RH and Slack!

lfslinux 01-19-2002 04:13 PM

Re: passwd permissions
 
Quote:

Originally posted by DiBosco
I've got a weird thing where if I set:

chown 604 passwd

it always comes back as 600 after a reboot.

Is there something somewhere in the rc files that sets the passwd file in /etc to ownership 600?
Seems to happen in Mandrake, RH and Slack!

It'll have to be in the rc scripts yes. Try grepping the files for passwd and chmod and see what you come up with:

grep "/etc/passwd" -R /etc/rc.d | grep chmod


All times are GMT -5. The time now is 04:32 PM.