cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Users Thru CDE console

SOLVED
Go to solution
Bruno Vilardo
Regular Advisor

Delete Users Thru CDE console

Hello all,

I am trying to delete users from the CDE console.
I select the user and then i choose Retire.
But the icon for the users still showing up.
Even if i delete the user from a command line the icons still there.
How do i make these users icon disappear ?

Thanks
TIA

Regards

Bruno
10 REPLIES
Ralf Puchner
Honored Contributor

Re: Delete Users Thru CDE console

# apropos user

and it will list all command to manage users. The graphical and command line is totally independent - this is not windows system e.g. it is based on the config files within /etc. So please always check the config files first.

With base security: /etc/passwd and /etc/passwd.dir and /etc/passwd.pag (you can remove the last 2 files).

If enhanced security: see man pages for necessary files (depend on OS version)
Help() { FirstReadManual(urgently); Go_to_it;; }
Ann Majeske
Honored Contributor
Solution

Re: Delete Users Thru CDE console

Bruno,

When you have Enhanced Security enabled the default is to retire a user, not delete it. Retiring a user doesn't delete the user's information from the database, it just marks the user as retired. Depending on what version you're using there may be a delete button next to the retire button. That's the one you're looking for. If your version doesn't have a delete button this functionality isn't available through the GUI.

Ann
Bruno Vilardo
Regular Advisor

Re: Delete Users Thru CDE console

Thanks for the responses

Ann,

Could you please tell the *command that does this function ?
After i run the *command , when i go to the GUI version , are the users icon gone ?

Thanks a lot
I do appreciate,

Regards

Bruno
Bruno Vilardo
Regular Advisor

Re: Delete Users Thru CDE console

Here is the version :
#Tru64 unix 4.0D#

Thanks

BRuno
Ann Majeske
Honored Contributor

Re: Delete Users Thru CDE console

Hi Bruno,

That explains it. You're running a very old version that does not include the capability to delete users in the standard commands or GUI for Enhanced Security. To delete a user you can do the following:

edauth -r
This deletes the user from the prpassswd database.

vipw to delete the user from the passwd database.

Note that deleting users does have security implications, which is why Enhanced Security defaults to retiring users instead of deleting them. If you delete a user the UID can be reused. If there are files left on the system by the old user the new user then has access to them, which may not be appropriate.

Ann
Bruno Vilardo
Regular Advisor

Re: Delete Users Thru CDE console

Hi Ann ,

Thanks a lot for your time spent in this response.
I tried to run the "edauth -r" command but it says :
ksh: edauth: not found

I made i search in the machine to find if it has the command and it is in the following directory :

/usr/tcb/bin/edauth , ive tried to run from that directory but no success ....

Do you know why i can´t execute this command ?

Thanks

Bru
Ralf Puchner
Honored Contributor

Re: Delete Users Thru CDE console

It's about time to read the documentation:
(10sec search within google using edauth + 4.0d as keyword)

http://discovery.cc.vt.edu/dec/AQTLMCTE/DOCU_005.HTM

Section 4.2.1.4 Enhanced Security Account Manager Problems with 4.0d
howto solve problems and workarounds...



Help() { FirstReadManual(urgently); Go_to_it;; }
Ann Majeske
Honored Contributor

Re: Delete Users Thru CDE console

Bruno,

Yes, the path for edauth is /usr/tcb/bin.

What error message are you getting when you try to run the edauth command?

Ann
Bruno Vilardo
Regular Advisor

Re: Delete Users Thru CDE console

Hey Ann

this is the error :

edauth -r
ksh: edauth: not found

Thanks
Regards
Bruno
Ann Majeske
Honored Contributor

Re: Delete Users Thru CDE console

Hi Bruno,

Since /usr/tcb/bin isn't in your path you have to specify it, i.e.:
/usr/tcb/bin/edauth -r
or if you are in /usr/tcb/bin
./edauth -r

Ann