LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-20-2004, 06:23 PM   #1
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Rep: Reputation: 15
/etc/passwd or /etc/shadow?


hi guys,

i wanted to know something is pwconv to make the password file readable only for root with /etc/shadow file is better then doing "chmod 400 /etc/passwd"? or doing "chmod 400 /etc/passwd" will make the system unworking and therfor pwconv is the best way?

thx in advance

Last edited by tiger7007; 03-20-2004 at 06:26 PM.
 
Old 03-20-2004, 09:26 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Normally you can rely on the default privileges in the case of /etc/passwd, /etc/group, /etc/shadow and /etc/gshadow. In the case of Debian/GNU Linux /etc/group and /etc/passwd is readable by everyone, while /etc/shadow and /etc/gshadow is only readable by root or somebody in the shadow group.
 
Old 03-21-2004, 04:41 AM   #3
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Original Poster
Rep: Reputation: 15
ok thx allot my book didnt mention that
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
passwd shadow problem rblampain Linux - Distributions 2 10-04-2005 12:00 AM
Moving /etc/passwd and /etc/shadow john8675309 Linux - Software 1 01-24-2005 08:44 PM
It is ok if i unshadow the /etc/passwd and /etc/shadow Paxmaster Linux - Software 1 01-12-2005 10:07 PM
mismatch with /etc/passwd and /etc/shadow AngryKeebler Linux - General 1 07-23-2004 03:42 PM
bourne shell /etc/passwd /etc/shadow uribo Programming 2 05-09-2003 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:48 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
Open Source Consulting | Domain Registration