Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exporting Users and Passwords in SCO

Posted on 2002-04-16
8
Medium Priority
?
451 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 21

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

886 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