From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5e3b84b7eb7429df X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: bulk adduser Date: 1996/11/07 Message-ID: <55t8sv$h0j@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 195193541 references: <55q13s$o3t@ratatosk.uio.no> content-type: text/plain; charset=US-ASCII organization: North Dakota Higher Education Computing Network (NDHECN) mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article <55q13s$o3t@ratatosk.uio.no>, Tarjei Jensen wrote: > > Anybody know of a utility for adding users in bulk? Soon I will have to add > around 100 users and I don't fancy doing that with adduser. There are a couple ways you could do it. One would be to get the tool ``convuser'' from Digital. It's an unofficial tool available under 3.x -- at 4.x it's part of the OS. convuser lets you convert users from base to enhanced security and back. Then it just becomes a matter of getting the users into the passwrd file and running `convuser' for each user you've added, to create the appropriate tcb file. Another method would be to look through the adduser script and see what it does and mimic that in a script of your own that's not interactive. Tim -- Tim Mooney mooney@toons.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Bldg. (701) 231-8541 (FAX) North Dakota State University, Fargo, ND 58105