Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Ann Majeske <Ann.Majeske@Compaq.com>
Subject: Re: Retired accounts
Date: Tue, 03 Apr 2001 12:57:00 -0400	[thread overview]
Message-ID: <3ACA00DC.6971C61D@Compaq.com> (raw)
In-Reply-To: 3AC9DC97.56D8C310@gse.upenn.edu


>              I'm new to Tru64 Unix and I don't quite understand Retired
>         accounts.  What is the advantage in keeping retired usernames in
>         /etc/passwd as opposed to just deleting them and how do you
>         prevent retired accounts from continuing to have active
>         /var/spool/mail files?


The idea behind Retired accounts is that if you re-use a uid the new
user has access to any files that the previous user left on the system,
a potential security hole.  It's usually only done on systems running
Enhanced Security, where there is a need for additional security on
the system.  If you're running Enhanced Security and don't need the
extra security of Retiring accounts rather than deleting them, you can
delete the accounts.  This functionality was added to dxaccounts and
userdel in a fairly recent release (I'm not sure exactly which one).
From "man userdel" on V5.1:
  -D      This option is used under enhanced security to delete the user
          account from /etc/passwd file and the enhanced security protected
          passwd DB.

If you're running Enhanced Security on a system that doesn't have this
-D option to userdel, you can still delete the account, but you have
to do it manually.  First, use /tcb/bin/edauth to remove the account
from the Enhanced Security database:
    # edauth -r <username>
Then use vipw to remove the account from /etc/passwd.
You should make sure that you remove all of this user's files as well.


      reply	other threads:[~2001-04-03 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-03 14:22 Retired accounts Todd Seeleman
2001-04-03 16:57 ` Ann Majeske [this message]
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