* Summary: how to removeuser cleanly in DU Enhanced Security mode
@ 1998-04-03 5:31 Xu Zhimin
0 siblings, 0 replies; only message in thread
From: Xu Zhimin @ 1998-04-03 5:31 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to Brian Hostetter, Joe Spanicek, Hoai Tran for rapid response.
my question is:
> Since I upgrade the DU4.0A to Enhanced Security mode, I can't
remove
>any user
>from my system when I use the command "dxaccounts", I can only retire
>the users.
> But the command "removeuser" can do this work. Unfortunatly, after
I
>delete one user
>with the command "removeuser", I can't add the same user any more .
>Later I tried to
>edit the auth file entry for this user when I add this user. I found
the
>uid in the auth file
>is old and deffrent from the new one . I corrected the uid, then I
>finished adding user account successfully. How can I remove users
cleanly?
The answers are:
1. Simply update the password file after deleting the account. Add the
line
mkpasswd /etc/passwd to your remove user scripts which will wipe their
auth account out too. Only problem is in DU4.0A/B mkpasswd is really
slow
unless you move your passwd file onto a ram disk.
--Brian
2. Do this to remove the user.
1) Retire the user accounts using the GUI.
2) Edit the '/etc/passwd' and '/etc/group' files to remove the users
entry.
3) Run the following command to remove user from protected database.
/usr/tcb/bin/edauth -r <user name>
This info can be found in the 'Release Notes' manual page 4.4.2.4 for
Digital Unix 4.0.
Joe Spanicek
joe@resptk.bhp.com.au
3. you can get help through "man convuser".
---Hoai tran
Thanks again!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-03 5:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-03 5:31 Summary: how to removeuser cleanly in DU Enhanced Security mode Xu Zhimin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox