LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-19-2002, 02:06 PM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia 4
Posts: 714

Rep: Reputation: 35
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!
 
Old 01-19-2002, 04:13 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
passwd romel Linux - Security 1 04-25-2004 02:12 AM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 01:52 PM
/etc/passwd help debdas Linux - General 3 05-09-2003 02:28 PM
passwd Winter Linux - Security 2 05-01-2002 06:13 PM


All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration