- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copy users and printers
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
09-09-2004 03:41 AM
09-09-2004 03:41 AM
copy users and printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 03:49 AM
09-09-2004 03:49 AM
Re: copy users and printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 03:50 AM
09-09-2004 03:50 AM
Re: copy users and printers
1. Is the system in trusted mode(C2) or not?
If in trusted mode, copy all under /tcb directory to the other node. You may want to prepare two copies of this. If not in trusted mode, just copy /etc/passwd file to the other node.
Copying Printers.
1. As a root, start SAM.
Goto options Printers and Plotters
Lp spooler
save/restore spooler configuration
Save it. This saves the configuration in /var/sam/lp directory.
Transfer this directory to other node(in /var/sam/lp directory).
From other node, go SAM-printer options as mentioned above and do recover. All printers should be accessible from other node.
I hope your florida troubles goes away early.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 03:51 AM
09-09-2004 03:51 AM
Re: copy users and printers
You can download a product called "Ignite-UX" from software.hp.com and create a system recovery tape which can be used to clone the system.
If you are looking to copy only users and printers then you can try something like this
To copy users
- Depends on if your system is trusted or untrusted
If trusted ,copy /etc/passwd, /etc/group files and /tcb directory to the target system
If the system is not trusted, copy only /etc/passwd and /etc/group to the target system
To copy printers
On source system
# /usr/sam/lbin/lpmgr -S -x savedir=/tmp/lp
Copy /tmp/lp to the target system
# /usr/sam/lbin/lpmgr -R -x savedir=/tmp/lp
-- Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 03:54 AM
09-09-2004 03:54 AM
Re: copy users and printers
If the box is trusted, you can copy the passwd file entry and the tcb database entry for all the users from one box to another.
If the box is not a trusted one, you just have to copy the passwd file entry from one box to another.
the tcb entry for the userid on a trusted box is at localtion /tcb/files/auth/x/xuser
Here "x" is the first character in the user_name and the name of the user is xuser. The entry under /tcb/files/auth/x is a file and needs to be copied from one box to another for each user on a trusted box.
For printer, you can export the printer info using sam and then import it on the new system. Remember the export and import of printer database only works for network and remote printers and does not work for the locally connected printers for which the device file /dev/lp0 may change from one box to another.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 06:20 AM
09-09-2004 06:20 AM
Re: copy users and printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 06:53 AM
09-09-2004 06:53 AM
Re: copy users and printers
When you convert to a Trusted System, the conversion program:
Creates a new, protected password database in /tcb/files/auth/.
Moves encrypted passwords from the /etc/passwd file to the protected password database and replaces the password field in /etc/passwd with an asterisk (*).
Forces all users to use passwords.
Creates an audit ID number for each user.
Turns on the audit flag for all existing users.
Converts the at, batch and crontab input files to use the submitter's audit ID.
Starting with HP-UX 11.0, changes the default value for umask to 077 (-rw-------, drwx------); see umask(1) .
See the following for more info:
http://docs.hp.com/hpux/onlinedocs/5187-2216/5187-2216.html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 08:14 AM
09-09-2004 08:14 AM
Re: copy users and printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 10:10 AM
09-09-2004 10:10 AM
Re: copy users and printers
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=680773
Rgds...Geoff