HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User migration
Operating System - HP-UX
1833788
Members
2800
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-14-2006 03:12 PM
08-14-2006 03:12 PM
User migration
Hi Guys,
Can someone advice how can I migrate users accont from one server to another. The model of the server is rp3440 running on hpux 11.11
Regards
Vincent
Can someone advice how can I migrate users accont from one server to another. The model of the server is rp3440 running on hpux 11.11
Regards
Vincent
nothing is better than to know more
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 03:38 PM
08-14-2006 03:38 PM
Re: User migration
copy /etc/passwd and /etc/group files from one server to the other
on the source server :
cat /etc/passwd | while read line
do
home=`echo $line|cut -d: -f6`
cd $home
tar -cf *|remsh target "cd $home; tar -xf"
done
make sur you do this while logged in as root and on the target server, root's .rhost file contains an entry as follows
sourceserver root
It is not the most elegant solution but it works. Limitation to consider: depending on the patch level of tar, there is a 2gb or 8gb file size limit while copying. If you have users, who keep files this big in their home directories, you will need to use a backup/restore solution for those files, for instance fbackup.
Hope this helps.
on the source server :
cat /etc/passwd | while read line
do
home=`echo $line|cut -d: -f6`
cd $home
tar -cf *|remsh target "cd $home; tar -xf"
done
make sur you do this while logged in as root and on the target server, root's .rhost file contains an entry as follows
sourceserver root
It is not the most elegant solution but it works. Limitation to consider: depending on the patch level of tar, there is a 2gb or 8gb file size limit while copying. If you have users, who keep files this big in their home directories, you will need to use a backup/restore solution for those files, for instance fbackup.
Hope this helps.
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 03:46 PM
08-14-2006 03:46 PM
Re: User migration
You both your servers are trusted servers then you'll also have to copy the protected password files under /tcb/files/auth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 04:06 PM
08-14-2006 04:06 PM
Re: User migration
copy their home directories, /etc/passwd and /etc/group files. But make sure that you able to login after copying /etc/passwd file since you should remember server 1 login/password.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP