Creating Groups
Just use:
pts creategroup $user:groupname
User created groups must have a name in the form of
userid:groupname. The userid is the name of the account that
created the group. It can be typed out in full, or the Unix
shell variable $user can be used when you are dealing with
groups your account created. Unless the user has altered
their default shell variables, $user is set to the user's
login id. You can use "echo $user" to check what $user is set
to.
Administering
Groups
Groups are administered using the same command you used to
create the group but with slightly different
parameters.
-
pts adduser newuser
$user:groupname
-
Adds userid newuser to $user:groupname.
-
-
pts removeuser deaduser
$user:groupname
-
Removes userid deaduser from $user:groupname.
-
-
pts membership userid:groupname
-
Lists the members of the userid:groupname group. You can
only list membership of groups for which you have
permission to read the membership information. Should you
need to alter these permissions, the AFS manual and online
fs/pts man pages have the necessary information on
controlling membership and rights.
-
You can not list membership of system:anyuser or
system:authuser. These are special groups which do not
have precomputed memberships.
AFS groups can be used in the ACL entry pair in place of
users when you are issuing fs commands
fs setacl -dir directories -acl
user:groupname access
|