Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: steen@x1.us.ohio-state.edu (Steen Hansen)
Subject: Re: An ultimate way to remove a user
Date: 1999/01/15	[thread overview]
Message-ID: <77nj7h$hr7$1@charm.magnus.acs.ohio-state.edu> (raw)
In-Reply-To: 369F33EE.BCC83099@vsb.cz


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 <usder_name>  -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  <ivan.dolezal@vsb.cz> 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




  parent reply	other threads:[~1999-01-15  5:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-15  5:00 An ultimate way to remove a user Ivan Dolezal
1999-01-15  5:00 ` Jeff Pabian
1999-01-15  5:00 ` Steen Hansen [this message]
1999-01-18  5:00 ` Nikola Milutinovic
1999-01-19  5:00   ` jxfaultl
1999-01-20  5:00     ` Nikola Milutinovic
1999-01-20  5:00       ` Bob Harris
1999-01-20  5:00       ` Ed Wensell III aka THE StormRaiser
1999-01-20  5:00       ` nick
1999-01-23  5:00       ` Tim Mooney
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox