[opensuse] Re: backup of users on a server
Le 21/06/2010 16:31, Danesh Daroui a écrit :
Hi,
I would like to upgrade my server which runs OpenSuSE 10.3 to the latest version. I wanted to know is it possible to have a backup of all users, passwords and all home directories, so when I install new OS, just simply transfer all data of users to the new system?
Thanks,
D.
probably not with a so old distro. Not sure if the UID are still the same. Do they begin at 1000 like today or 500 like before? if 1000, you can save /etc/passwd, /etc/shadow and /home jdd -- http://www.dodin.net http://www.facebook.com/pages/I-support-the-Linux-Documentation-Project/3720... http://www.facebook.com/pages/The-fan-page-of-Claire-Dodin/106485119372062?v... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks for the answer. Yes UID starts from 1000 in OpenSuSE 10.3. Well, it is not that old, but are you sure just by backing up /etc/passwd, /etc/shadow and /home everything will be as it was on the old server, even on the new server? How usernames will be transferred? What is "shadow" file? D. On 2010-06-21 16:46, jdd-gmane wrote:
Le 21/06/2010 16:31, Danesh Daroui a écrit :
Hi,
I would like to upgrade my server which runs OpenSuSE 10.3 to the latest version. I wanted to know is it possible to have a backup of all users, passwords and all home directories, so when I install new OS, just simply transfer all data of users to the new system?
Thanks,
D.
probably not with a so old distro. Not sure if the UID are still the same. Do they begin at 1000 like today or 500 like before? if 1000, you can save /etc/passwd, /etc/shadow and /home
jdd
-- Danesh Daroui Ph.D Student Lulea University of Technology http://www.ltu.se danesh.daroui@ltu.se Tel: +46-(0)920-492451 Cell phone: +46-(0)704-399847 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Le 21/06/2010 21:45, Danesh Daroui a écrit :
Thanks for the answer. Yes UID starts from 1000 in OpenSuSE 10.3. Well, it is not that old, but are you sure just by backing up /etc/passwd, /etc/shadow and /home everything will be as it was on the old server, even on the new server?
of course like said an other answer, depends how the server is configured (by you). How usernames will be transferred? What
is "shadow" file?
the place where real passwd are stored (the /etc/passwd file just hold names and various options, shadow hold the pass). May be? you have also the use of the /etc/groups file, but this is not so sure jdd -- http://www.dodin.net http://www.facebook.com/pages/I-support-the-Linux-Documentation-Project/3720... http://www.facebook.com/pages/The-fan-page-of-Claire-Dodin/106485119372062?v... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2010-06-21 at 21:45 +0200, Danesh Daroui wrote:
Thanks for the answer. Yes UID starts from 1000 in OpenSuSE 10.3. Well, it is not that old, but are you sure just by backing up /etc/passwd, /etc/shadow and /home everything will be as it was on the old server, even on the new server? How usernames will be transferred? What is "shadow" file?
D.
On 2010-06-21 16:46, jdd-gmane wrote:
Le 21/06/2010 16:31, Danesh Daroui a écrit :
Hi,
I would like to upgrade my server which runs OpenSuSE 10.3 to the latest version. I wanted to know is it possible to have a backup of all users, passwords and all home directories, so when I install new OS, just simply transfer all data of users to the new system?
I would back those up. HOWEVER, I would only add back in the new /etc files the users I want to keep. I would not in any way overwrite the system users in these files. Also, I would be sure the group names have not changed. Like dialout vs. uucp. Just to be safe. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Danesh Daroui
-
jdd-gmane
-
Roger Oberholtzer