copy of passwd ...
Hi, what from etc do I have to copy to a second machine to get all the user-accounts accessable without doing further changes? Thanx Thom -- ------------------------------------------------------------------- bye bye (c) by Thom | Thorsten Marquardt | EMail: THOM@kaupp.chemie.uni-oldenburg.de | Member of the pzt project. | http://kaupp.chemie.uni-oldenburg.de/pzt -------------------------------------------------------------------
/etc/passwd /etc/shadow /etc/group /etc/gshadow but UIDGID's may conflict so don't just copy stuff over. You'll prolly also need to create /home/* directories. An easy way to do this would be tu run /etc/passwd and group through something like awk that puts out data to groupadd/useradd. Kurt Seifried, seifried@securityportal.com Securityportal - your focal point for security on the 'net
/etc/passwd /etc/shadow /etc/group /etc/gshadow
but UIDGID's may conflict so don't just copy stuff over. You'll prolly also need to create /home/* directories. An easy way to do this would be tu run /etc/passwd and group through something like awk that puts out data to groupadd/useradd.
This basically one of the reasons why SuSE Linux has so many users
installed by default. If you add these users dynamically when you need
them, you run into trouble.
If all machines where you want to copy the files are SuSE distributions,
you should be safe.
Thanks,
Roman.
--
- -
| Roman Drahtmüller
Roman Drahtmueller wrote:
but UIDGID's may conflict so don't just copy stuff over. You'll prolly also need to create /home/* directories. An easy way to do this would be tu run /etc/passwd and group through something like awk that puts out data to groupadd/useradd.
This basically one of the reasons why SuSE Linux has so many users installed by default. If you add these users dynamically when you need them, you run into trouble.
I concur. On mission-critical systems I'm always feeling *very* unhappy that SuSE Linux comes with so many default users and groups. Usually I delete them all but it takes some time to figure out which home-directories you can delete. Annoying! I see no reason that application-specific user entries cannot be installed on-the-fly during package install. If an UID or a GID is already in use the installation should simply fail with a meaningful error message. Ciao, Michael.
Michael Ströder wrote:
Roman Drahtmueller wrote:
This basically one of the reasons why SuSE Linux has so many users installed by default. If you add these users dynamically when you need them, you run into trouble.
I concur.
Wrong word! I meant "disagree". Ciao, Michael.
/etc/passwd /etc/shadow /etc/group /etc/gshadow
but UIDGID's may conflict so don't just copy stuff over. You'll prolly also need to create /home/* directories. An easy way to do this would be tu run /etc/passwd and group through something like awk that puts out data to groupadd/useradd.
This basically one of the reasons why SuSE Linux has so many users installed by default. If you add these users dynamically when you need them, you run into trouble.
If all machines where you want to copy the files are SuSE distributions, you should be safe.
I copied the files to the second machine and it worked perfect for me. Thanx a lot Thom -- Always remember that you are unique. Just like everyone else. ------------------------------------------------------------------- bye bye (c) by Thom | Thorsten Marquardt | EMail: THOM@kaupp.chemie.uni-oldenburg.de | Member of the pzt project. | http://www.pzt.de -------------------------------------------------------------------
participants (5)
-
Kurt Seifried
-
Michael Ströder
-
Roman Drahtmueller
-
Thorsten Marquardt
-
Thorsten Marquardt