- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user and group moving to another system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 07:34 PM
01-26-2004 07:34 PM
user and group moving to another system
I want to know how to move my user and it't group to another machine.
I am managing a K580 having about 500 user account.
Now I have to make exact same user account to a new N-class machine for migration.I cannot make about 500 user account newly.(so much time..) Is there any way to move my 500 users easily?
pleae let me know the users moving procedure in detail.(which files should I move and the procedures in detail...)
Thanks in advance for all of answerer..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 07:39 PM
01-26-2004 07:39 PM
Re: user and group moving to another system
to the new system and create all the home-dirs (or tar then and copy to the new system)
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 07:39 PM
01-26-2004 07:39 PM
Re: user and group moving to another system
Perhaps the most easy way, set up a NIS server and NFS-mount the users home directorys.
If you want to duplicate users on the two servers, ftp the group and password file, make a tar file of the home directorys, ftp it to the other server and untar it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 07:44 PM
01-26-2004 07:44 PM
Re: user and group moving to another system
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=370167
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 10:06 PM
01-26-2004 10:06 PM
Re: user and group moving to another system
Also, do you want to keep the home directories of the users?
If not trusted and no preserving of account information on the N-class:
- copy /etc/passwd, /etc/group and /etc/shadow to the N-class.
- copy the home directories. (tar helps preserving ownership and rights).
If you need to preserve accounts, copy the files and then concatenate them, do a sort on the uid ('sort -nk3 -t:') and then look through the file for double entries (2 entries for root, for instance).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 10:22 PM
01-26-2004 10:22 PM
Re: user and group moving to another system
Alternatively, if the new machine is going to be a clone of the old one, you may as well just use Ignite.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 09:03 AM
01-28-2004 09:03 AM
Re: user and group moving to another system
tar cvf /home/ /tmp/home.tar
cppy over /etc/group /etc/passwd to the new box!
copy tarball to new box, then untar
tar xvf /tmp/home.tar
It should put it under /home since you used the full path to tar it up.