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_at_resptk.bhp.com.au
3. you can get help through "man convuser".
---Hoai tran
Thanks again!
Received on Fri Apr 03 1998 - 09:24:34 NZST