LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Alex Wilkinson <valex@style.senet.com.au>
  To  : meveritt@bigpond.com.au
  Date: Mon, 10 Apr 2000 17:42:39 +0930 (CST)

Re: groups

> Hi everybody.
> 
> I have created a couple of users under Linux and assigned them a number of groups.    Do you assign the user to the group or the group to the user (Hope that makes sense). How do I display their group memberships under Linux if they are in one or more groups
> 

Assign users to groups. Add the groups to /etc/groups.
To check a particular file is ownned by a user in a particular group
type: ls -l 

the first username is for the "user" and the second is  for the "group"

eg: drwxrwxr-x   2 valex    valex        1024 Feb  4 21:55 BSD/
                  [user]   [group]


by default if u don't specify a group it will put u in a group with the
same name as your user name as above.

to modify ie add/remove users from a group edit the /etc/groups file.

To see what groups u r in type the command: "groups"


 - Alex 


-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page