- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrate Users
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
05-21-2003 08:11 AM
05-21-2003 08:11 AM
I installed a 'new' Hp9000 D270
and i want to migrate the users and prnters from another HP9000 to these,
its posiible ?? how ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 08:13 AM
05-21-2003 08:13 AM
Solutioncat /root/passwd >> /etc/passwd
Same thing for group.
After you are done run these two checks.
pwck
grpck
You will probably want to tar up the home directories and move them too, with special attention to the contents of .profile
You'll need to think a bit.
No idea with regards to printers.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 08:14 AM
05-21-2003 08:14 AM
Re: Migrate Users
If you're trusted, you need to copy over /tcb as well.
Generally, when I do this, I don't migrate data; I write a program to extract all of the /etc/passwd info [and password stuff out of tcb], then I write a useradd script to add the users "from scratch".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 08:15 AM
05-21-2003 08:15 AM
Re: Migrate Users
Migrating printers is easy. There is an option in SAM under printers to save your entire printer setup to a file, then copy it to the new server, then use SAM to recreate your printer setup.
Migrating users involves a bit more;
1. copying their entire home directories from one server to the new server.
2. copying users /etc/passwd entries and /etc/group entries to the /etc/passwd and /etc/group files on the new server, although its probably better to use the useradd command to create the new accounts on the new server - just create them the same as on the old server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 08:21 AM
05-21-2003 08:21 AM
Re: Migrate Users
Printers:
1) On the old box:
lpstat -t
Look for and cancel any really old unwanted print jobs. No point in taking them across.
lpshut
2) cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /tmp/lp.cpio
3) On the new box, install the new JetDirect software using swinstall - don't install JetAdmin; it is obsolete.
4) lpshut (if lpsched is running)
copy your /tmp/lp.cpio to the new box
cd /
cpio -icvdum < /tmp/cpio
5) If your old box was running JetAdmin, execute transferqueue local and respond "all". This will update your interface files.
6) Make sure that /etc/hosts, DNS, NIS(+) is setup so that host names are resolved as they were on the old box.
7) lpsched
Everything should now be setup including your old default printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 08:23 AM
05-21-2003 08:23 AM