Solved

Exporting Users and Passwords in SCO

Posted on 2002-04-16
8
438 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: 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!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parsing a file using ksh 10 82
Where to get php 5.6 for AIX 7.1? 5 149
unix solaris snoop command 6 139
how to write and save a unix script 12 39
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

752 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