[comp.unix.xenix.sco] adding a mess of users

bw@uecok.ecok.edu (Bill Walker CS Faculty) (01/05/91)

In desperation, I have put together a combination of shell
scripts and C programs that can add a LOT of users to our
Altos 5000 running SCO "Unix" by reading the user info
out of a single file that is prepared with an editor.

I would be willing to post this stuff, just for the
edification and use of anyone interested, or e-mail it
to anyone that asks for it.  ("As-is" of course.)

I haven't been reading this group long enough to know if
posting the sources here is a good idea or not.  I'll probably
just hang on to them, unless I am deluged with demand for them.
In the meantime, if anyone wants them by e-mail, let me know.

Thanks to all of the folks out there in the net that offered
suggestions.  There were all helpful, and the culmination
is that we have solved our problem, at least on a temporary
basis.

Bill Walker

East Central University
Ada, Oklahoma
e-mail:  bw@cs.ecok.edu

paulz@sco.COM (W. Paul Zola) (01/16/91)

In article <663@uecok.ECOK.EDU> bw@uecok.ecok.edu (Bill Walker CS Faculty) writes:
}In desperation, I have put together a combination of shell
}scripts and C programs that can add a LOT of users to our
}Altos 5000 running SCO "Unix" by reading the user info
}out of a single file that is prepared with an editor.
}
[deleted]

I *strongly* suggest that you add your users via the 'addxusers'
command.  This command takes a file in Xenix password file format
and creates entries in the Protected Password database.  Encrypted
passwords and password aging information are preserved and entered
into the TCB files.  It was designed, in part, to facilitate writing
shell scripts and programs that need to create a large number of
users at a time.

This utility is availible in SCO UNIX 3.2 version 2.0.  If you have
ODT 1.0, it's on the UFE upgrade.  If you have SCO UNIX 3.2 version 0.0,
you can get 'addxusers' as part of Support Level Supplement (SLS)
unx223, which is available via the usual channels.

}
}Bill Walker
}
}East Central University
}Ada, Oklahoma
}e-mail:  bw@cs.ecok.edu

I hope this has been helpful, and of general interest.

-
Paul Zola			Software Support Engineer 
				paulz@sco.COM 
Gotta tend the earth if you want a rose.  - Emily Saliers
    DISCLAIMER: I speak for myself, and not for SCO.

bw@uecok.ecok.edu (Bill Walker CS Dept. Chairman) (01/16/91)

Thanks for the comments re: addxusers.  We are running the Altos
version of SCO "Unix", and it DOES NOT HAVE the (*^&*^ addxusers
available.  Calls to both Altos and SCO have failed to produce
anything at all remotely useful.  Therefore, in desperation,
we have produced a series of shell scripts.  When this thing
breaks, I'm going to send the bloody thing back.