home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:10676 comp.unix.sys5.r4:1365
- Path: sparky!uunet!caen!destroyer!mudos!mudos!not-for-mail
- From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
- Newsgroups: comp.sys.sun.admin,comp.unix.sys5.r4
- Subject: Re: Sys5 admin gripes (was Re: Uh-oh, Solaris 2.1 is here...)
- Date: 22 Jan 1993 18:26:36 -0500
- Organization: The Programmers' Pit Stop, Ann Arbor MI
- Lines: 33
- Message-ID: <1jpvrcINN41h@mudos.ann-arbor.mi.us>
- References: <1993Jan11.101303.18753@einoed.in-berlin.de> <1993Jan13.204116.27922@leland.Stanford.EDU> <1993Jan13.212959.7052@usl.edu> <1993Jan20.154450.21736@mnemosyne.cs.du.edu>
- NNTP-Posting-Host: mudos.ann-arbor.mi.us
-
- In article <1993Jan20.154450.21736@mnemosyne.cs.du.edu> aburt@mnemosyne.cs.du.edu (Andrew Burt) writes:
- >Oh, while we're talking menus, and lack of capabilities, I'd like to see
- >a supported way to add users in batches.
-
- Look into useradd(1), usermod(1), and userdel(1). They are similar to
- the older passmgmt(1) command, but include a few new features
- (adjustable defaults, etc.). The only thing they don't allow you to
- do is specify an initial password; you still need to use passwd(1) to
- set that. Alternately, you could probably write a quick Perl or C
- program to take a password from the command line or a data file, crypt
- it, and write it to the password field of /etc/shadow.
-
- >what other files *is* the menu fiddling with to add users besides
- >passwd?)
-
- I'm pretty sure that the sysadm-based menus only modify /etc/passwd
- and /etc/shadow. I've deinstalled OA&M on this machine, though, so I
- can't check. :-)
-
- >Maybe us expert sysadmins are a dying breed, but don't forsake us!
-
- Agreed. SCO is finally starting to learn this, I think; in ODT 1.0
- and 1.1, there was NO supported (or documented!) way to add users
- other than using their interactive menu-based tool (sysadmsh). I
- think there still is no officially supported alternate method, but at
- least they've bothered to document their C2 security extensions in
- ODT 2.0 so you can build your own tools.
-
- --
- Marc Unangst, N8VRH | "Of course, in order to understand this you
- mju@mudos.ann-arbor.mi.us | have to remember that the nucleus of the atom
- | is squishy."
- | -W. Scheider, from a Physics lecture
-