From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2c9ec546ed905b4a X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: How to remove a retired user? Date: 1999/11/04 Message-ID: <7vsmu7$uc8$1@news.ndsu.nodak.edu>#1/1 X-Deja-AN: 544506640 Content-Transfer-Encoding: 7bit References: <38219013.2D29C469@linmpi.mpg.de> Content-Type: text/plain; charset=US-ASCII X-Complaints-To: abuse@nodak.edu X-Trace: news.ndsu.nodak.edu 941743879 31112 134.129.106.23 (4 Nov 1999 19:31:19 GMT) Organization: North Dakota Higher Education Computing Network (NDHECN) Mime-Version: 1.0 NNTP-Posting-Date: 4 Nov 1999 19:31:19 GMT Newsgroups: comp.unix.osf.osf1 In article <38219013.2D29C469@linmpi.mpg.de>, Helmut Michels wrote: > How can I remove a retired user from the system with the enhanced > security subsets installed. I want to re-use username and UID. 1) Submit an enhancement request with Compaq, asking for a way to make `userdel' actually delete a user even if C2 security is enabled. They're following the C2 spec very closely here, and the problem is that it states that objects are never to be re-used (they can only be retired). IMHO, For standards conformance retiring users should definitely be the default, but there should also definitely be a way to override the default and actually delete the user. 2) Use `userdel' from from a 4.0b patchlevel 3 or earlier system. It allowed complete deletion of a user, even on C2 systems. 3) If you're only talking about a couple people, you can do it the hard way: mkdir /etc/ptmp vi /etc/passwd <*carefully* delete the lines, and save the file> rmdir /etc/ptmp mkpasswd /etc/passwd You can't use `vipw' because it will complain that you mangled the temp file. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164