From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,84ff8db072b80871,start X-Google-Attributes: gidfee84,public From: Ivan Dolezal Subject: An ultimate way to remove a user Date: 1999/01/15 Message-ID: <369F33EE.BCC83099@vsb.cz>#1/1 X-Deja-AN: 432934328 X-NNTP-Posting-Host: kocour.vsb.cz Content-Transfer-Encoding: 7bit X-Accept-Language: cs,en Content-Type: text/plain; charset=iso-8859-2 X-Trace: 15 Jan 1999 13:27:55 +0100, kocour.vsb.cz Organization: Ceske Vysoke Uceni Technicke, Praha MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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