tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Xu Zhimin <xuzm () ns ! cetin ! net ! cn>
To: tru64-unix-managers
Subject: Summary: how to removeuser cleanly in DU Enhanced Security mode
Date: Fri, 03 Apr 1998 05:31:24 +0000	[thread overview]
Message-ID: <96078705511291.tru64-unix-managers.marc@archive.invalid> (raw)

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!

                 reply	other threads:[~1998-04-03  5:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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