Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to remove a retired user?
@ 1999-11-04  5:00 Helmut Michels
  1999-11-04  5:00 ` Tim Mooney
  1999-11-05  5:00 ` Robert Katz
  0 siblings, 2 replies; 3+ messages in thread
From: Helmut Michels @ 1999-11-04  5:00 UTC (permalink / raw)


How can I remove a retired user from the system with the enhanced
security subsets installed. I want to re-use  username and UID.

Thanks in advance !

-------------------
  Helmut Michels
  Max-Planck-Institut fuer Aeronomie  Phone: +49 5556 979-334
  Max-Planck-Str. 2                   Fax  : +49 5556 979-240
  D-37191 Katlenburg-Lindau           Mail : michels@linmpi.mpg.de
  DISLIN Home Page:  http://www.linmpi.mpg.de/dislin





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to remove a retired user?
  1999-11-04  5:00 How to remove a retired user? Helmut Michels
@ 1999-11-04  5:00 ` Tim Mooney
  1999-11-05  5:00 ` Robert Katz
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Mooney @ 1999-11-04  5:00 UTC (permalink / raw)


In article <38219013.2D29C469@linmpi.mpg.de>,
Helmut Michels  <michels@linmpi.mpg.de> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to remove a retired user?
  1999-11-04  5:00 How to remove a retired user? Helmut Michels
  1999-11-04  5:00 ` Tim Mooney
@ 1999-11-05  5:00 ` Robert Katz
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Katz @ 1999-11-05  5:00 UTC (permalink / raw)


Helmut,

It's unsupported, but

1) Remove all files owned by the user outside his home directory.
2) userdel -r {username}
3) vipw -- delete the user
4) convuser -d

---Robert

________________


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.
> 
> Thanks in advance !
> 
> -------------------
>   Helmut Michels
>   Max-Planck-Institut fuer Aeronomie  Phone: +49 5556 979-334
>   Max-Planck-Str. 2                   Fax  : +49 5556 979-240
>   D-37191 Katlenburg-Lindau           Mail : michels@linmpi.mpg.de
>   DISLIN Home Page:  http://www.linmpi.mpg.de/dislin



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-05  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-04  5:00 How to remove a retired user? Helmut Michels
1999-11-04  5:00 ` Tim Mooney
1999-11-05  5:00 ` Robert Katz

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