From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,7243657910e4ee2a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-03 09:58:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Message-ID: <3ACA00DC.6971C61D@Compaq.com> From: Ann Majeske X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 X5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Retired accounts References: <3AC9DC97.56D8C310@gse.upenn.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 03 Apr 2001 12:57:00 -0400 NNTP-Posting-Host: 16.140.128.94 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 986317061 16.140.128.94 (Tue, 03 Apr 2001 09:57:41 PDT) NNTP-Posting-Date: Tue, 03 Apr 2001 09:57:41 PDT Organization: Compaq Computer Corporation Xref: supernews.google.com comp.unix.tru64:2001 > 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 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.