LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-30-2004, 07:02 PM   #1
mpgram
Member
 
Registered: Sep 2003
Location: Dallas TX
Distribution: Red Hat
Posts: 59

Rep: Reputation: 15
Users, their data, and more?


I am trying to figure out where the user information is stored for backup purposes. I use cpio for a backup command, mainly because I like the fact that it keeps all the original file information. The problem I have run into is that after restoring the backup, my users are not recreated as I had hoped. The main files that I backup for the users are "/var/spool/mail, /home" and the "/etc/shadow" file.

Is there another file or group of files that I can backup that will recreate the users and the groups?
 
Old 11-30-2004, 07:20 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"Is there another file or group of files that I can backup that will recreate the users and the groups?"

The users and groups are configured in various files in /etc. Backup the entire /etc tree similar to the way that you backup the entire /home tree.

-----------------------
Steve Stites
 
Old 11-30-2004, 07:22 PM   #3
mpgram
Member
 
Registered: Sep 2003
Location: Dallas TX
Distribution: Red Hat
Posts: 59

Original Poster
Rep: Reputation: 15
Yeah, I was afraid of that. You wouldn't by chance happen to know which files would you? I got a few problems with some of the files that I do not want to be transfered over.

Update:::::
Are there any others that anyone else can think of other than these?

/etc/shadow
/etc/group
/etc/gshadow
/etc/passwd

Last edited by mpgram; 11-30-2004 at 07:37 PM.
 
  


Reply



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
Data Access Limit to Users Gaurav Wadhwa Linux - Enterprise 6 02-28-2005 03:15 AM
assign new data partition to specific users wycolorado Linux - Newbie 2 01-01-2005 09:53 PM
Home Office Biotech Data Mining - Data Collection Adler Linux - General 20 11-03-2004 04:17 AM
Burn Data DVD... Read Data in Linux and Windows SaintStrive Linux - Newbie 3 09-18-2004 05:04 PM
Help on Administrative Utility (adding users & data from input file) NightWolf_NZ Linux - Software 0 09-10-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 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