User account conversions

User account conversions

Post by a.. » Fri, 18 Aug 1995 04:00:00



I'm changing hardware and using the same os (3.2.4).  I want to avoid
having to manually build all of the users again.

Is there a utility I can use to build users form a script file?
or
is there a specific list of file names that I need to copy over?

TIA
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Alan Trosky
The Allegheny County Bar Association

 
 
 

User account conversions

Post by skyhor » Fri, 18 Aug 1995 04:00:00



> I'm changing hardware and using the same os (3.2.4).  I want to avoid
> having to manually build all of the users again.
> Is there a utility I can use to build users form a script file?
> or
> is there a specific list of file names that I need to copy over?
> TIA
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> Alan Trosky
> The Allegheny County Bar Association

Al,

     Check out the ap command in the man pages.  This should do the trick.
Also, there is an undocumented parameter (-g) which you should use
to preserve group membership info.  This command will NOT preserve
home directories so you will need to use tar or cpio for these files.
Hope this helps.

                     George

 
 
 

User account conversions

Post by John Georg » Sun, 20 Aug 1995 04:00:00




>Subject: User account conversions
>Date: 17 Aug 1995 11:17:32 -0400
>I'm changing hardware and using the same os (3.2.4).  I want to avoid
>having to manually build all of the users again.
>Is there a utility I can use to build users form a script file?
>or
>is there a specific list of file names that I need to copy over?

Have a look at the 'ap' command.  'man ap' should give you what you need to
know.

Ciao!
+=====================================================================+
| John Georges, SCO ACE, Compaq ASE |Ph:   +61-3-9890-1899 |  |\**|   |
| Senior Technical Consultant       |Fax:  +61-3-9890-1822 |  |**\|   |
| MUA Pty Ltd                       |E-Mail:               |/\\*\\||\ |


+=====================================================================+

 
 
 

User account conversions

Post by Charles Garge » Tue, 22 Aug 1995 04:00:00


: > I'm changing hardware and using the same os (3.2.4).  I want to avoid
: > having to manually build all of the users again.
:
: > Is there a utility I can use to build users form a script file?
: > or
: > is there a specific list of file names that I need to copy over?
:
: > TIA
: > --
: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

: > Alan Trosky
: > The Allegheny County Bar Association
:
:
:
:
: Al,
:
:      Check out the ap command in the man pages.  This should do the trick.
: Also, there is an undocumented parameter (-g) which you should use
: to preserve group membership info.  This command will NOT preserve
: home directories so you will need to use tar or cpio for these files.
: Hope this helps.
:
:                      George
:

A shame you haven't upgraded to OpenServer 5! This has a great utility to
do just what you requested...  'addxusers [old_passwd_file]'. I found it to
be of unbelievable use... :)  But for 3.2.4.2 I must agree with George.

Charlie.
--

 
 
 

User account conversions

Post by John Georg » Thu, 24 Aug 1995 04:00:00



>A shame you haven't upgraded to OpenServer 5! This has a great utility to
>do just what you requested...  'addxusers [old_passwd_file]'. I found it to
>be of unbelievable use... :)  But for 3.2.4.2 I must agree with George.

'addxusers' _is_ in 3.2v4.2 (and all other versions before that I think).  It
doesn't bring across passwords and other information though.......I prefer ap
personally.

+=====================================================================+
| John Georges, SCO ACE, Compaq ASE |Ph:   +61-3-9890-1899 |  |\**|   |
| Senior Technical Consultant       |Fax:  +61-3-9890-1822 |  |**\|   |
| MUA Pty Ltd                       |E-Mail:               |/\\*\\||\ |


+=====================================================================+

 
 
 

User account conversions

Post by Stephen M. Du » Tue, 29 Aug 1995 04:00:00



$I'm changing hardware and using the same os (3.2.4).  I want to avoid
$having to manually build all of the users again.

   I take it from this that you're not interested in a backup of your
old system.  A backup would include this information, primarily in
files under /etc and under /tcb.

$Is there a utility I can use to build users form a script file?
$or
$is there a specific list of file names that I need to copy over?

   See the man pages for addxusers (or is it addxuser?  I'm never
sure of this until I try one and see if it works :-)  If you save
judicious bits of /etc/passwd (and /etc/group), it should allow
you to set up the same users.  If your security level doesn't put
the passwords in /etc/passwd, then your users will have to have
passwords assigned to them.

   I'm not very familiar with ap, but it might be useful here as
well.  Check it out and see if it will help you.
--

----------------------------------------------------------------------------
Stephen M. Dunn, CNE, ACE, Sr. Systems Analyst, United System Solutions Inc.
104 Carnforth Road, Toronto, ON, Canada M4A 2K7          (416) 750-7946 x251

 
 
 

User account conversions

Post by Alex Baile » Wed, 30 Aug 1995 04:00:00


I can give you two possibilities:

1. Use the 'addxusers' command to rebuild the passwd and shadow files and
the TCB database. After you have done this you can restore the users'
home directories from a backup.

2. Unless you have a reason for a 'clean' rebuild, you could consider
building the new machine from a backup of the old one. This requires a
bootable floppy set and a good cpio backup of all of the filesystems
(seperately) on the old machine. The only problem with this is that the
disk controlers have to be compatable on both machines. If both are non
scsi then this is not a problem. If both are scsi then they need to be
the same (it can be done with different types but it gets complicated). I
have never tried non-scsi to scsi, but it should be possible (although
will need in-depth technical knowledge of SCO Unix to achieve).

If it is a large system - I wish you luck :)

 
 
 

User account conversions

Post by Stephen M. Du » Sat, 02 Sep 1995 04:00:00


$'addxusers' _is_ in 3.2v4.2 (and all other versions before that I think).

   It's certainly in 3.2.2; I've used it (twice now, thanks to a hard
disk that died while I was at Forum) on a 3.2.2 system in the last month.

$                                                                           It
$doesn't bring across passwords and other information though....

   If you have your encrypted passwords in the file you feed it, then
it _will_ bring your passwords across.  At least it did in 3.2.2, and
I'm pretty sure 3.2v4.2 worked the same way.

   If, however, you're working from a passwd file from a system which
put passwords under /tcb and only put * in the passwd file's password
field, you're not going to get your passwords.
--

----------------------------------------------------------------------------
Stephen M. Dunn, CNE, ACE, Sr. Systems Analyst, United System Solutions Inc.
104 Carnforth Road, Toronto, ON, Canada M4A 2K7          (416) 750-7946 x251