Operating System - HP-UX
1832567 Members
5765 Online
110043 Solutions
New Discussion

Re: display the groups ..

 
Ramana.Sv
Frequent Advisor

display the groups ..

How to display the groups in HP-UX and how to remove???
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: display the groups ..

To display groups:

# cat /etc/group

To remove a group use 'groupdel'.

# man groupdel

for more information. There are also groupadd and groupmod commands as well that you may want to take a look at.
mobidyc
Trusted Contributor

Re: display the groups ..

Hello,

if you want to see your groups:
#> id

if you want to osee the groups of another account
#> id username

--
Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
n00body
Advisor

Re: display the groups ..

userdel -r to delete the user profile and from the group
dctw
Frequent Advisor

Re: display the groups ..

The easiest way is to use SAM