Yeah.. what he said. * Blake -----Original Message----- From: J.L.Francois [mailto:frenchie@magusnet.gilbert.az.us] Sent: Thursday, July 20, 2000 1:04 PM To: plug-discuss@lists.PLUG.phoenix.az.us Subject: Re: useradd It seems like on Thu, Jul 20, 2000 at 12:19:01PM -0700, Don Harrop scribbled: Orig Msg> I've got a ton of users to add on a particular linux box. I have all the Orig Msg> usernames and passwords.. I'd like to create an executable file that will Orig Msg> run useradd and insert everyone into the machine. I can't figure out how to Orig Msg> make useradd take unencrypted passwords at the command prompt though. Any Orig Msg> ideas? Orig Msg> Orig Msg> Don man newusers ==================== NAME newusers - update and create new users in batch SYNOPSIS newusers [ new_users ] DESCRIPTION newusers reads a file of user name and cleartext password pairs and uses this information to update a group of existing users or to create new users. Each line is in the same format as the standard password file (see passwd(5)) with the following exceptions. man chpasswd ===================== NAME chpasswd - update password file in batch SYNOPSIS chpasswd DESCRIPTION chpasswd reads a file of user name and cleartext password pairs from standard input and uses this information to update a group of existing users. Each line is of the format user_name:password The named user must exist. The supplied password will be encrypted and the password age updated, if present. This command is intended to be used in a large system environment where many accounts are created at a single time. _______________________________________________ Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss