From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078705511291.tru64-unix-managers.marc@archive.invalid> From: Xu Zhimin Date: Fri, 03 Apr 1998 05:31:24 +0000 To: tru64-unix-managers Subject: Summary: how to removeuser cleanly in DU Enhanced Security mode X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078705511291 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 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!