From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,84ff8db072b80871 X-Google-Attributes: gidfee84,public From: steen@x1.us.ohio-state.edu (Steen Hansen) Subject: Re: An ultimate way to remove a user Date: 1999/01/15 Message-ID: <77nj7h$hr7$1@charm.magnus.acs.ohio-state.edu>#1/1 X-Deja-AN: 432966167 References: <369F33EE.BCC83099@vsb.cz> Organization: University Technology Services Newsgroups: comp.unix.osf.osf1 When you delete a user, you may want to verify that there are no files hanging arouynd that is owned by that user. You can do that with find / -user -print You may also want to check if that user is listed in the /etc/group file. I do not have Enhanced Security, so I can't help on that. Steen In article <369F33EE.BCC83099@vsb.cz>, Ivan Dolezal wrote: >Hello, > >I run a machine with Enhanced Security. My problem sounds: How to remove >ultimately a user? For good, no track of him. How to do it "pure way?" > >When I user "deluser -r", it only retires this user. His track is still >in /etc/passwd what is definitively a TROUBLE, because some of older >applications that I run, test existence of user by finding his login >name in this file. > >On the other hand, it probably is not good idea just to remove a line >from /etc/passwd. If it was, then why'd "userdel" in "removeuser" >started yelling: > >Working ...userdel: Error: modification of a retired user is not >allowed. > >Anyway, I don't know what would be the consequences of just erasing the >line in /etc/passwd? > >I'd like to know too, if it is possible to reuse UID of retired user. > > >Thanks for answers! > >Ivan > > -- Steen Hansen (Hviid), Systems & LAN Admin, The Ohio State University