From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c936e1fce66e6af4 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: purging retired users Date: 1998/04/19 Message-ID: <6hccqv$odh@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 345590044 References: <353777e0.80879138@news3.buffnet.net> Organization: North Dakota Higher Education Computing Network (NDHECN) Newsgroups: comp.unix.osf.osf1 In article <353777e0.80879138@news3.buffnet.net>, Jeffrey Sick wrote: > Is there a way to purge retired users without turning off the C2 > (DEC UNIX 4.0D)? > > I run a script (sorta) that adds hundreds of users at a time, then > later a similar one that deletes them all. The problem is that > sometimes there will be some added a second time around that existed > and were retired before and it won't add them a second time. If I turn > off C2 before the mass retiring they go a way completely, I was hoping > that I can do the same thing without turning odd C2 first. Convert individual users to base security using `convuser', remove them from the passwd file (use `userdel'), and then use `convuser -d' to clean up the C2 database. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164