- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migration for user account
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
03-16-2002 07:21 AM
03-16-2002 07:21 AM
Migration for user account
I want to migrate the user account from one machine to another. I know that the directory under /home, /etc/passwd and /etc/group need to copy from one machine to another. What other things else also need to migrate?
Thanks
Regards,
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 08:19 AM
03-16-2002 08:19 AM
Re: Migration for user account
If your system is a non-trusted system then you can copy the passwd and group files to another system; if it is a trusted systems then things are a bit different. Your best bet would be to convert to non-trusted, copy the files, and then convert your new system to trusted via the tsconvert command or simply do it from SAM.
However, if all you want to do is move a user, then I would simply add the new user on the new box along with his group (if necessary). I would then copy his home directory and disable his login on the old box.
Unless you search for all a user's files with find, it is normally better to leave the disabled accounts on the old box so that ownership information is preserved otherwise files owned by user 'tom' will simply show up as owned by '456' (or whatever Tom's UID is).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 10:16 AM
03-16-2002 10:16 AM
Re: Migration for user account
In add you can copy the .profile files in each home directory if it was customized.
Don't copy the .sh_history file, because on the other machine is possible that you can't login on the user account.
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 12:54 AM
03-17-2002 12:54 AM
Re: Migration for user account
You need to copy /etc/passwd, /etc/group and the users home directories. I am assuming your system is untrusted.
For trusted system you have to follow Clay's instructions. That's the best way to migrate user's on trusted systems.
Thanks,
-Piyush.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 12:54 AM
03-17-2002 12:54 AM
Re: Migration for user account
You need to copy /etc/passwd, /etc/group and the users home directories. I am assuming your system is untrusted.
For trusted system you have to follow Clay's instructions. That's the best way to migrate user's on trusted systems.
Thanks,
-Piyush.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 01:59 PM
03-17-2002 01:59 PM
Re: Migration for user account
Clay's suggestion gets my vote, however I want you to be aware of one hiccup, that you will face. Everytime you trust a system *all* passwords are then reset and all users will have to change their passwords on the first atempted login. I'm sure that you want to any mutinies where possible.
-Michael