• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • 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
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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