Operating System - HP-UX
1832962 Members
3176 Online
110048 Solutions
New Discussion

moving users and printers to another computer

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

moving users and printers to another computer

I want to be able to move over my printers and users and their user directory's from an RP7410 running 11.11 to an K460/9000 running 11?? How do I tell what version of software unix is running on both machines. How do I copy all the directories over to the 9000 from thr rp7410? Then how do I create all the users on the other box and move over there home directories?
4 REPLIES 4
V. Nyga
Honored Contributor
Solution

Re: moving users and printers to another computer

Hi,

for printers:
You can use 'SAM' - 'Printers and Plotters' - 'LP Spooler' -> 'Save/Restore Spooler Configuration'

User's directories you can copy with rcp or after making a nfs-mount or store it to a tape ...

To create the users it should also be possible with a simple copy of /etc/passwd and /etc/group.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Doug Burton
Respected Contributor

Re: moving users and printers to another computer

I agree with the taring of /home and (perhaps) the passwd and group files. As far as the printer issue....

Copy a set of printers from one server to another
On server "A"
Open "sam ->Printers and Plotters->LP Spooler-> Save/Restore Spooler Configuration"
Go to "Actions"
Click on 'Save Spooler Configuration'
Exit out of SAM
tar cvf /tmp/sam.tar /var/sam/lp
Transfer the sam.tar file to system B:/tmp.
On server "B"
tar xvf /tmp/sam.tar
You may need to change the permissions and ownership of these files. To do that run:
chmod -R 755 /var/sam/lp/* ; chown -R lp:bin /var/sam/lp/*
Open "sam ->Printers and Plotters->LP Spooler-> Save/Restore Spooler Configuration"
Go to "Actions"
Click on 'Restore Spooler Configuration'
Don't forget to restart the scheduler
Exit out of SAM
Dave Hutton
Honored Contributor

Re: moving users and printers to another computer

The others talked about moving users and printers. To add a bit:

version of software unix? It sounded like you know with 11.11 and 11.0 uname -a shows it though. Or are you talking about different software (printer software?)

Only thing to add if the servers are trusted, just grabbing the /home/* /etc/passwd and /etc/group files will not be enough. You also need the /tcb/files/auth directory too.
Tim Nelson
Honored Contributor

Re: moving users and printers to another computer

Version of SW: uname -a or swlist

Printers: Use sam as mentioned, do not forget host file entries if using network based printers along with the Jet Direct utility.

Home: tar it up, ftp, untar

Users: If the system is not trusted, then just a copy of /etc/passwd and /etc/group. If it is trusted you will also need /tcb structure.

This all assumes you are ok with over writing the current configs on the destination server.