Solved

Exporting Users and Passwords in SCO

Posted on 2002-04-16
8
429 Views
Last Modified: 2013-12-05
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
Comment
Question by:UkWizard
8 Comments
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 6945863
OSR5 or UnixWare?

The UnixWare command is pwconv.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 6946547
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
 
LVL 3

Author Comment

by:UkWizard
ID: 6947021
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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
LVL 3

Author Comment

by:UkWizard
ID: 6947022
Oops,  Sorry its openserver 5
0
 
LVL 3

Author Comment

by:UkWizard
ID: 6947062
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
 
LVL 20

Expert Comment

by:tfewster
ID: 7833723
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 7909043
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0
 

Expert Comment

by:pkumar_71
ID: 8521961
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question