Summary: how to removeuser cleanly in DU Enhanced Security mode

From: Xu Zhimin <xuzm_at_ns.cetin.net.cn>
Date: Fri, 03 Apr 1998 13:31:24 +0800

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT