Second, the answer to your question is an easy one. The users and passwords are kept in the file /etc/passwd and /etc/shadow.
So if I overwrite these 2 files the users are restored? How can I then
automatically create them the local directories?
Let's say if we ignore the user files in case of crash), do I have to save
the directory structure?
----- Original Message -----
From: "Christian Boltz"
I want to ask for a backup tool for suse 10. For the configuration files and mailserver I am using rsync to backup the files. How can I backup the user list and passwords... and recover them easy in case of disaster?? [...] Second, the answer to your question is an easy one. The users and
On Mar 27, Andy
wrote: passwords are kept in the file /etc/passwd and /etc/shadow. But instead of saving only those two (with tar), I would backup the whole /etc directory, e.g.
# tar czvf /data/backup/etc.tar.gz /etc
I would not recommend compressed tar archives for doing backups - if one bit breaks, the whole archive can be unusable. Andy: If you already have rsync running, just use it to save all of /etc. If you need multiple backup instances, I'd recommend to use storeBackup on the rsync copy. For those who understand german: (sorry, no translation available) 7. Backup http://suse-linux-faq.koehntopp.de/ch/ch-backup.html Regards, Christian Boltz -- [Subject: Re: hpdarm bei Systemstart] Äh, sorry, es geht natürlich um hdparm, nicht um die Gedärme eines hp:-) [Heinrich Eisterer in suse-linux] -- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here