transfering accounts
Hi, I have an old RH6.0 box from which I'd like to export all the accounts to a brand new SuSE 7.2 box. here's the method I'd like to apply : Create the accounts with yast copying the /etc/passwd file from RH6.0 to SuSE 7.2 Copying the /etc/shadow file from RH6.0 to SuSE 7.2 Most of the accounts are customers accounts and I don't have all the passwd, so I don't want to miss one thing.... Regarding roots and internal accounts, everything is ok, I have the passwds.... Is the process correct, is it enough ? is there a simpler way to do this all ? Thanx Stephane
Hi,
I have an old RH6.0 box from which I'd like to export all the accounts to a brand new SuSE 7.2 box. here's the method I'd like to apply :
Create the accounts with yast copying the /etc/passwd file from RH6.0 to SuSE 7.2 Copying the /etc/shadow file from RH6.0 to SuSE 7.2
Most of the accounts are customers accounts and I don't have all the passwd, so I don't want to miss one thing.... Regarding roots and internal accounts, everything is ok, I have the passwds....
Is the process correct, is it enough ? is there a simpler way to do this all ?
Not quite. Remove the first lines containing system owned users from both the passwd and shadow file and append the rest to the SuSE files. A simple copy will not work flawlessly: The numerical userIDs of system users are not normed in any way except for the fact that the number must be below 100.
Thanx Stephane
Thanks,
Roman.
--
- -
| Roman Drahtmüller
* Roman Drahtmueller wrote on Thu, Sep 06, 2001 at 10:53 +0200:
copying the /etc/passwd file from RH6.0 to SuSE 7.2 Copying the /etc/shadow file from RH6.0 to SuSE 7.2
Additionally, cp /etc/group and /etc/gshadow (if used).
A simple copy will not work flawlessly: The numerical userIDs of system users are not normed in any way except for the fact that the number must be below 100.
Same for gids. Remove/"Merge" Entries with low gids (system
groups). I would remove the gids
Hi,
I have an old RH6.0 box from which I'd like to export all the accounts to a brand new SuSE 7.2 box. here's the method I'd like to apply :
Create the accounts with yast copying the /etc/passwd file from RH6.0 to SuSE 7.2 Copying the /etc/shadow file from RH6.0 to SuSE 7.2
Most of the accounts are customers accounts and I don't have all the
----- Original Message -----
From: stephane parenton
Is the process correct, is it enough ? is there a simpler way to do this
all ?
Thanx Stephane
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
the solution to your problem is to create the accounts with a script in your new box with the command useradd -m -s /bin/bash (or any shell you like) username and then you can transfer your passwords from you RH box's shadow to your SUSE it's boring but it works i 've use this method recently to transfer the accounts jim :)
participants (4)
-
Dimitris Kontogiannopoulos
-
Roman Drahtmueller
-
Steffen Dettmer
-
stephane parenton