From: Ed Wensell III aka THE StormRaiser <ewensell@pstcc.cc.tn.us.net>
Subject: Re: User troubles
Date: 1999/08/31 [thread overview]
Message-ID: <37CBCEE0.3F88@pstcc.cc.tn.us.net> (raw)
In-Reply-To: 7qesel$ap7$1@buck.internorth.com
Is Enhanced Security (C2) enabled (/usr/sbin/rcmgr get SECURITY BASE)?
According to the removeuser man page (which uses userdel for the actual
delete):
Security Note
If you have enhanced security installed on your
system, you should use the dxaccounts command
to remove users. See the Security manual and
the dxaccounts(8X) reference page for more
information.
Also, if you have enhanced security enabled, dxaccounts will only let
you "retire" accounts, not delete (C2 specification, recycling of
UIDs/Usernames not allowed. Man page is slightly misleading). If you
really want to remove an account, the only way will be to do it manually
(as another poster states). From the DUNIX 4.0d docs:
(http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html)
10.4.2 Removing a User Account Manually
To manually remove a user account from your system:
1.Remove the user's files and directories.
2.Remove the user's entry from the group file.
3.Remove the user's entry from the passwd file.
4.Remove the user's /usr/spool/mail/username file.
The rest of that section describes how to do each step. After you remove
the user from the passwd file on an Enhanced Security system, you will
need to run something to get the protected user database in synch. I do
not remember what it is (man prpasswd). Although, as long as the user's
directory/shell definition is gone, that should be enough. I do know the
passwd synch/update is done automagically during reboots... :)
Kinda wish D/T64 UNIX had a "Slightly Enhanced Security" mode.
Basically, shadow passwords with user delete capability... :)
Richard Moore wrote:
>
> Thanks for the help on this. It almost worked. I now can add users.
> However when I go to removeuser I get:
>
> Is this the entry you want to delete (y/n)? y
> Working ...userdel: Password entry is corrupted. Please repair the password
> file
> and then run Account Manager
>
> User (alee) was not removed.
>
> We have tried rebuilding the user file, resetting the server rebuilding
> kernel, no joy.
>
> Thanks In advance
> Richard
--
Until soon...
Ed Wensell III
Systems and Operations Support, Pellissippi State
E-mail hint: A college with a dot net domain?
next prev parent reply other threads:[~1999-08-31 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-30 4:00 User troubles Richard Moore
1999-08-30 4:00 ` Jim Granfield
1999-08-30 4:00 ` Ed Wensell III aka THE StormRaiser
1999-08-30 4:00 ` Richard Moore
1999-08-31 4:00 ` Ed Wensell III aka THE StormRaiser [this message]
1999-08-31 4:00 ` J�rgen Schr�der
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