LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-30-2003, 12:06 PM   #1
bleistein
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
How are shadow files updated?


I have installed redhat 8.0. Created several user accounts with passwords. I find files such as passwd and passwd-, shadow and shadow-, gshadow and gshadow-. Each group does not seem to be in sync. Example:
/etc/passwd has 2,382 characters
/etc/passwd- has 2,344 characters and does not contain the last user generated by the adduser utility.

My questions are:

* When and how are these files updated to reflect each other.
* How are they used in a recovery mode, what triggers their use.
 
Old 08-01-2003, 12:53 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,139
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
When and how are these files updated to reflect each other.
Once the (insert adjectives here) app you are changing passwd/shadow entries with (Linuxconf in this case) is satisfied it has made the changes to the original, it will not do *anything* with those backups except leave them around to pollute your pristine /etc dir with...

How are they used in a recovery mode, what triggers their use.
AFAIK, not, nothing.
 
  


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
Create new shadow and gshadow files-HOW? MichaelP Linux - Newbie 1 03-16-2005 01:07 PM
samba and shadow password files duffboygrim Linux - Networking 1 10-05-2004 11:33 PM
getting updated files without up2date/yum redrush Fedora 1 09-28-2004 05:42 AM
Passwd and Shadow files synchronisation sandras Linux - Software 3 08-04-2004 10:09 AM
splitting up the passwd and shadow files Burgin Linux - General 1 07-26-2004 09:39 PM


All times are GMT -5. The time now is 12:28 AM.

Main Menu
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