- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrate users account from server A to server B
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
Discussions
Discussions
Discussions
Forums
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
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
тАО02-28-2006 07:42 PM
тАО02-28-2006 07:42 PM
Migrate users account from server A to server B
Is there any way to migrate all the users account including users home directory from server A to server B instead of need to create user account one by one in server B?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 08:02 PM
тАО02-28-2006 08:02 PM
Re: Migrate users account from server A to server B
Hi,
One Simple way is to copy the /etc/passwd file from Server A to Server B.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 08:08 PM
тАО02-28-2006 08:08 PM
Re: Migrate users account from server A to server B
You can copy the following from Server A to Server B.
/etc/passwd
/etc/group
/home
/var/spool/cron
In case of Trusted systems, Copy
/tcb as well.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 08:11 PM
тАО02-28-2006 08:11 PM
Re: Migrate users account from server A to server B
Copy /etc/passwd, /etc/group from serverA to server B but it will not preserve the existing user accounts on serverB, if you want to preserve them then append entries of /etc/passwd on serverA to that of serverB.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 08:15 PM
тАО02-28-2006 08:15 PM
Re: Migrate users account from server A to server B
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 08:57 PM
тАО03-15-2006 08:57 PM
Re: Migrate users account from server A to server B
I hv created an user account with login name as ncs in server A. Actually I want to migrate this user id from server B to server A. In order to preserve the user password at server B, I hv copied the ncs file from server B /tcb/files/auth/n to server A. I don't copy the entry from /etc/passwd from server B to server A. I able to login but the user id(UID) is diff between /etc/passwd & /tcb/files/auth/n
Below is the diff for /tcb/files/auth/n/ncs between 2 servers
server A:
ncs:u_name=ncs:u_id#129:\
:u_pwd=P6RuJxtEmE8Sg1DIt0VDIoi.jc2OgNv2Zf6:\
:u_auditid#386:\
:u_auditflag#1:\
:u_succhg#1139966489:u_unsucchg#1128497238:u_pswduser=ncs:u_suclog#1142501475:\
:u_suctty=pts/to:u_unsuclog#1142407526:u_unsuctty=pts/t1:u_lock@:\
:chkent:
server B
ncs:u_name=ncs:u_id#138:\
:u_pwd=AGTGLLXIP8mWA:\
:u_auditid#277:\
:u_auditflag#1:\
:u_succhg#1142501503:u_unsucchg#1141980009:u_suclog#1142501536:u_suctty=pts/tO:\
:u_unsuclog#1142501488:u_unsuctty=pts/tO:u_lock@:chkent:
Questions:
1) Any impact that I just copy /tcb/files/auth/n/ncs only without /etc/passwd?
2) Due to I already create user account called ncs in server A, any impact if I copy ncs entry from server B /etc/passwd and overwrite it at server A?
regards.