LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2008, 07:14 AM   #1
honey bee
LQ Newbie
 
Registered: Jan 2006
Location: Islamabad,Pakistan
Posts: 29

Rep: Reputation: 15
Question Shadow file


Hello,

Why we have reserved field in shadow file, for what purpose it is used?.Its description says that it is for future use, can anyone give any example for what type of work it is used?
 
Old 01-04-2008, 07:26 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Well... in modern linux distros the shadow file stores the encrypted passwords and is readable by root only. This should prevent normal users from attempting a malicious decryption of the stored passwords.
 
Old 01-04-2008, 07:45 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The reserved field is just that - reserved. At the moment, it doesn't do anything, it's just defined in case someone comes up with a good idea for what to put there. It's possible it does something in other Unix types, though.

Dave
 
Old 01-04-2008, 08:30 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Uh... sorry... I missed the focus of the question. Thanks ilikejam for posting the correct answer.
 
Old 01-05-2008, 04:14 AM   #5
honey bee
LQ Newbie
 
Registered: Jan 2006
Location: Islamabad,Pakistan
Posts: 29

Original Poster
Rep: Reputation: 15
Smile

Thank you for explaining
 
  


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
/etc/shadow file missing Computergirl24 Linux - Software 3 08-28-2008 07:28 AM
shadow file os2 Linux - Security 3 10-18-2005 04:20 PM
Shadow file question Timur Sakayev Linux - Security 4 06-07-2005 11:20 AM
shadow file stevee Linux - Security 1 10-07-2003 11:11 AM
shadow file? tjm Linux - Security 4 09-15-2003 05:23 PM


All times are GMT -5. The time now is 06:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration