- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Migrating Users across trusted HP systems
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
12-17-2000 05:15 PM
12-17-2000 05:15 PM
Migrating Users across trusted HP systems
Sure some of might have come across this .
Any thoughts
ta
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2000 10:54 PM
12-17-2000 10:54 PM
Re: Migrating Users across trusted HP systems
1. To migrate users you can either recreate them from scratch if there a few no of users and restore their home directories
a. Write a small shell script to read "passwd" file and generate a text file with the necessary user information.
b. Ftp/backup the text file and copy/restore the same on 11.00. Write another shell script to read the file and create the users on 11.00. Use "useradd.sam" which is found in "/usr/sam/lbin" for user creation through script and pass the necessary parameters to it.
Note: there is no man/help for useradd.sam, so run the command with full path and it will give you help on the usage/syntax.
c. Set a temporary password to all users and force them to change during initial signon.
2. Backup the "/tcb"(proctectd password database) and users home directory on 10.20 and restore on 11.00. I am not sure whether the contents of each user entry is same in 10.20 and 11.00. You need to manually update or append the "passwd" with all the user information.
3. Make sure you create the users group.
I recommend using the 1st method/step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2000 11:00 PM
12-17-2000 11:00 PM
Re: Migrating Users across trusted HP systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 12:28 AM
12-18-2000 12:28 AM
Re: Migrating Users across trusted HP systems
/usr/sam/lbin/useradd.sam (linked to /usr/sbin/useradd) will allow you to script the user creation on your trusted destination system, without using sam.
Check 'man useradd' for the exact syntax.
The programs 'usermod' and 'userdel' could prove useful as well.
Once the users are created, you can simply copy the content of the home directories across systems. Make sure the destination system has the adequate entry in /.rhosts if you are using any of the 'r commands' (rcp, remsh)
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 02:01 AM
12-18-2000 02:01 AM
Re: Migrating Users across trusted HP systems
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 09:56 AM
12-18-2000 09:56 AM
Re: Migrating Users across trusted HP systems
...Madhu