- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrating users and password from one trusted mach...
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
04-18-2008 09:47 AM
04-18-2008 09:47 AM
We're moving huge number of users from server A to server B. Both this servers are running hp-ux 11 and in a trusted security. We found ways how to migrate the users login accounts but we just want to know if we can migrate their password too so that the move will be totally transparent to the users. Plus we don't want them to enter a new password after the move.
Any help would be greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 09:56 AM
04-18-2008 09:56 AM
Re: Migrating users and password from one trusted machine to another trusted machine
you can take the /etc/passwd file then create the user home directory and change the ownership using awk script.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:02 AM
04-18-2008 10:02 AM
SolutionPete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:07 AM
04-18-2008 10:07 AM
Re: Migrating users and password from one trusted machine to another trusted machine
We were able to move their login and home directory with no problem but we want to bring over too their password so that users will not need to enter a new one. We just want this move to be totally transparent to the users as if they were still using the old server. Both the old and new server are in trusted mode. So I just to know if it is possible to move their password too. If yes, what should I be doing?
Thanks for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:09 AM
04-18-2008 10:09 AM
Re: Migrating users and password from one trusted machine to another trusted machine
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:11 AM
04-18-2008 10:11 AM
Re: Migrating users and password from one trusted machine to another trusted machine
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1154770
Cheers,
bob
-Like bob only spelt backwards-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:53 AM
04-18-2008 10:53 AM
Re: Migrating users and password from one trusted machine to another trusted machine
the trusted database files, /tcb/files/auth/* also needed.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 11:09 AM
04-18-2008 11:09 AM
Re: Migrating users and password from one trusted machine to another trusted machine
The script tars up some files on the source, /etc/passwd, /etc/group, /var/sam/lp, /home/dirs, /usr/local/bin, etc.. executes lpmgr to load/restore the print configurations and much more.
Something like this will get you started:
awk -F: '$3 > 199 '{print $1" "$3" "$4" "$5" "$6" "$7}' /tmp/newpass|while read uname uid gid comment home shell
do
useradd -u $uid -g gid -c \"$5\" -m -d $home -s $shell $uname
modprpw -x $uname
done
(if you write it yourself you will learn loads of stuff vs someone giving it to you )
Best of luck.