From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,345f60fe2caa0372 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: Adding a large number of users Date: 1996/08/30 Message-ID: <507hi1$ckb@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 177540266 references: <32261523.3065@ssc.siemens.com> 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 <32261523.3065@ssc.siemens.com>, aaron smith wrote: > To all wizards, gurus, experts, and the like, > > I am currently running DEC UNIX 3.2c [OSF/1] with enhanced security and > must add over 1000 users to the system. This is a monumental task > regardless of the timeframe which is relatively short. Does anyone know > of a script to add users using the adduser command. Just creating the > necessary information in the /etc/passwd is not good enough (ie it > dosen't work). Also the user accounts must be locked which means that the > auth files must be modified in some way hopefully through the same script > or code. It would be greatly appreciated if someone knows of such a > beast. Please email your comments. DEC has a tool called `convuser', which is not supported under 3.2x (but is part of the operating system under 4.x) which can convert a user from BASE security to ENHANCED security, and back. This means that if you can get the users into /etc/passwd you just need to convert them to ENHANCED security using the convuser tool. DEC gave us a copy of convuser for our 3.2 machines last year, and this is the way we've been creating accounts on our machines with enhanced security. It has worked reasonably well. SOAPBOX MODE ON One of the big things I heard over and over again before the release of 4.0 was that 4.0 was going to have better user management tools. Now that I've got 4.0, I would say that the tools are *a little* better, but they're still inadequate for the job. Expecting customers to use an interactive tool to create accounts on a machine is a bad decision, IMHO. Yes I know about "expect", but I shouldn't have to write an expect script just so I can batch-add users to a machine. There should be one or more *non-interactive* commands available to create and activate the accounts. Even IBM's AIX does it better (a lot better, in fact) -- there are non-interactive commands to accomplish every part of account management. Ditto for purging users. SOAPBOX MODE OFF 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