Tuesday, January 15, 2013

Display group attributes





The lsgroup command displays group attributes. You can use this command to list all the system groups and their attributes or you can list all the attributes of individual groups.

1st of all, you don`t know how many groups are existing in a machine and what are the names of these groups. To get all these information ,you have to methods to use:

   1)    #lsuser ALL 


 
2)    # cat /etc/group



 
Now, you know ALL the groups on this systems and you are curious to know more information about a specific group and which users are members of this group…..etc! 

- To display the attributes of the staff group,type:
#lsuer staff


Displaying group attruibuites is an easy-job,dosn`t it?! ;-)


 


No comments:

Post a Comment