UkWizard
asked on
Exporting Users and Passwords in SCO
Someone please help me, this is really bugging me.
I have forgotten the command to export the user/password list on a sco machine. I know it exports to a file so that you can then import on another machine.
Anyway remember it?, the new caldera knowledge is unusuable now. otherwise i would just look on the sco site.
Thanks.
I have forgotten the command to export the user/password list on a sco machine. I know it exports to a file so that you can then import on another machine.
Anyway remember it?, the new caldera knowledge is unusuable now. otherwise i would just look on the sco site.
Thanks.
It depends on with version of SCO you are talking about.
If you want to get all the user passwd from one SCO box to another
For OSR3.x.x
you can make a tar ball for the following files:
/etc/passwd
/tcb/files/auth/*
and the extra it to anothe SCO box, the both box will have the same passwd, you can append /etc/passwd (use all the normal usr record) to the one in the other box and put
/tcb/files/auth/* accross.
For OSR5.
Make a tar ball:
/etc/passwd
/etc/shadow
/tcb/files/auth/*
and tar it accorss.
PS: pwconv - is use for updating the records in /etc/shadow base on the record in /etc/passwd file.
If you want to get all the user passwd from one SCO box to another
For OSR3.x.x
you can make a tar ball for the following files:
/etc/passwd
/tcb/files/auth/*
and the extra it to anothe SCO box, the both box will have the same passwd, you can append /etc/passwd (use all the normal usr record) to the one in the other box and put
/tcb/files/auth/* accross.
For OSR5.
Make a tar ball:
/etc/passwd
/etc/shadow
/tcb/files/auth/*
and tar it accorss.
PS: pwconv - is use for updating the records in /etc/shadow base on the record in /etc/passwd file.
ASKER
No, there is a single command used to copy userlists across systems. I haved used a couple of times. I just cant remember the command ......
Your method is a messy and unrecommended way, but thanks for your input.
:)
Your method is a messy and unrecommended way, but thanks for your input.
:)
ASKER
Oops, Sorry its openserver 5
ASKER
Sorry, you are all too late. The Sco Ta site is back up again today. I have found the command in 2 minutes.
Its 'ap' if anyones interested.
Its 'ap' if anyones interested.
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- PAQ & refund points
Please leave any comments here within the next 7 days
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
tfewster (I don't work here, I'm just an Expert :-)
I will leave a recommendation for this question in the Cleanup topic area as follows:
- PAQ & refund points
Please leave any comments here within the next 7 days
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
tfewster (I don't work here, I'm just an Expert :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ap -dgv > /tmp/actinfo.txt to export to a file
edit the file for removing the system users if you dont need to import them back then use,
ap -ro -f /tmp/actinfo.txt to import from the file
edit the file for removing the system users if you dont need to import them back then use,
ap -ro -f /tmp/actinfo.txt to import from the file
The UnixWare command is pwconv.