Adduser-1.0 by Craig Hagan (Modified a lot by Chris Cappuccio) -------------------------------------------------------------- craig@opine.cs.umass.edu -/- chris@slinky.cs.umass.edu Yet another quick and dirty hack, like the original (not error tested very much, it should work pretty good unless you fuck with it.) For SunOS 4 & Linux (I know it runs OK under Linux, from the looks of it it should run with no problems on a Sun, who knows) What does it do? 0- Finds out if you are root, looks for shadow password files (we don't support shadow, bitch if it's found), looks for SunOS NIS, and maybe it does a few other things I forgot about... (chris) 1- Asks you for username and information on your new user 2- Makes the user's home directory and entry in password file 3- Gives them ownership of their home directory. In this directory should be: README : this file Makefile : the makefile to make adduser adduser.c : the source code for our magic utility xfdes.c : the source for fcrypt() xfdes.h : structures/defines for xfdes.c type make adduser to make the standard version, make nocrypt if you have no crypt()