• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 455
  • Last Modified:

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.
0
UkWizard
Asked:
UkWizard
1 Solution
 
chris_calabreseCommented:
OSR5 or UnixWare?

The UnixWare command is pwconv.
0
 
yuzhCommented:
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.

0
 
UkWizardAuthor Commented:
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.

:)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
UkWizardAuthor Commented:
Oops,  Sorry its openserver 5
0
 
UkWizardAuthor Commented:
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.
0
 
tfewsterCommented:
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 :-)
0
 
moduloCommented:
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0
 
pkumar_71Commented:
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
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now