* Deleting "retired" users?
@ 1998-07-06 4:00 Malcolm Dunnett
1998-07-07 4:00 ` Ed Wensell III aka THE StormRaiser
0 siblings, 1 reply; 4+ messages in thread
From: Malcolm Dunnett @ 1998-07-06 4:00 UTC (permalink / raw)
I've just upgraded our DUnix system from 3.2G to 4.0D.
I can't figure out how to delete a user under the new version. If I
use removeuser or dxaccounts all I am able to do is flag the user as
"retired". If I then try to create a new user of the same name I get
an error that the user already exists.
I'd appreciate it if someone could point me to the information on how
I may actually delete users as opposed to flagging them as "retired"
Thanks in advance.
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Deleting "retired" users?
1998-07-06 4:00 Deleting "retired" users? Malcolm Dunnett
@ 1998-07-07 4:00 ` Ed Wensell III aka THE StormRaiser
1998-07-07 4:00 ` Malcolm Dunnett
1998-07-07 4:00 ` Jeffrey Sick
0 siblings, 2 replies; 4+ messages in thread
From: Ed Wensell III aka THE StormRaiser @ 1998-07-07 4:00 UTC (permalink / raw)
Malcolm Dunnett wrote:
>
> I've just upgraded our DUnix system from 3.2G to 4.0D.
>
> I can't figure out how to delete a user under the new version. If I
> use removeuser or dxaccounts all I am able to do is flag the user as
> "retired". If I then try to create a new user of the same name I get
> an error that the user already exists.
>
> I'd appreciate it if someone could point me to the information on how
> I may actually delete users as opposed to flagging them as "retired"
>
> Thanks in advance.
You COULD remove the user from the /etc/passwd file (I'm about to get
flamed for that), BUT you COULD run into a situation where the deleted
user had been given access/ownership over certain files. When a new user
is created using the old UID code, the new person would then gain access
to those files inadvertantly. Granted giving access to files via UID
instead of GID might be a bad thing, BUT there bound bound to be
situations.
"Retiring" users may be better if accidently giving access to sensitive
files is a concern...
Until Soon...
Ed
E-mail address hunked due to spammers.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Deleting "retired" users?
1998-07-07 4:00 ` Ed Wensell III aka THE StormRaiser
@ 1998-07-07 4:00 ` Malcolm Dunnett
1998-07-07 4:00 ` Jeffrey Sick
1 sibling, 0 replies; 4+ messages in thread
From: Malcolm Dunnett @ 1998-07-07 4:00 UTC (permalink / raw)
In article <35A215D1.27F3@pstcc.cc.tn.us.net>,
Ed Wensell III aka THE StormRaiser <ewensell@pstcc.cc.tn.us.net> writes:
>
> You COULD remove the user from the /etc/passwd file (I'm about to get
> flamed for that), BUT you COULD run into a situation where the deleted
> user had been given access/ownership over certain files. When a new user
> is created using the old UID code, the new person would then gain access
> to those files inadvertantly. Granted giving access to files via UID
> instead of GID might be a bad thing, BUT there bound bound to be
> situations.
>
I woudn't reuse the UID, at least not until all possible values
had been exhausted - which should take quite some time :-)
I, however, would like to be able to re-use the username. We create
a bunch of student accounts on this system and I don't see any reason why
John Smith shouldn't be able to get his proper username just because another
John Smith used that name a few years ago.
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Deleting "retired" users?
1998-07-07 4:00 ` Ed Wensell III aka THE StormRaiser
1998-07-07 4:00 ` Malcolm Dunnett
@ 1998-07-07 4:00 ` Jeffrey Sick
1 sibling, 0 replies; 4+ messages in thread
From: Jeffrey Sick @ 1998-07-07 4:00 UTC (permalink / raw)
>>Malcolm Dunnett wrote:
>>>
>>> I've just upgraded our DUnix system from 3.2G to 4.0D.
>>>
>>> I can't figure out how to delete a user under the new version. If I
>>> use removeuser or dxaccounts all I am able to do is flag the user as
>>> "retired". If I then try to create a new user of the same name I get
>>> an error that the user already exists.
>>>
>>> I'd appreciate it if someone could point me to the information on how
>>> I may actually delete users as opposed to flagging them as "retired"
Take a look at
ftp://cs.wolfcrews.com/download/UNIX/DEC_scripts/bulk_add_del_users/
and see if that helps, it's a script I wrote (it's in the zip/tar file) to
delete not retire users even when C2 is installed.
Jeff
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeffrey James Wolfanger Sick
VROC #207 * '97 BUBF
Buffalo State College
UNIX Systems Programmer
http://www.wolfcrews.com
Home of The Wonderland Tarot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-07 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-06 4:00 Deleting "retired" users? Malcolm Dunnett
1998-07-07 4:00 ` Ed Wensell III aka THE StormRaiser
1998-07-07 4:00 ` Malcolm Dunnett
1998-07-07 4:00 ` Jeffrey Sick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox