[Lintula home] -> [Lintula user account and password] -> [User groups]
[Tämä sivu suomeksi]

Lintula

User groups


This page contains information about user groups on Lintula computers.

About Unix user groups

Using groups users can easily grant access to his/her files or directories to other users. This can be used for example:

Every Lintula user has a user group. The name of users group is same as users username.

Lintula users can list the members of their own user group using myaccount -m or authgroup -L <groupname> -command on Lintula computers. myaccount -g and authgroup -l <username> -command the groups the user belongs to. myaccount -command prints more information than authgroup.

Adding a user to the group

A user is added to the group using authgroup -a <groupname> <username> -command. In the following example, user talatalo adds user jmn to talatalo's group:

hopeatilhi:~$ authgroup -a talatalo jmn
This function requires authentication.
Logging on as 'talatalo'
Password: <write your Lintula password here>
Added user jmn to group talatalo.
hopeatilhi:~$

Lintula computers will update the group information within 30 minutes and after this the user, whose group information has changed, has to login again.

Removing a user from the group

A user is removed from the group using authgroup -r <groupname> <username> -command. In following example, user talatalo removes user jmn from talatalo's group:

hopeatilhi:~$ authgroup -r talatalo jmn
This function requires authentication.
Logging on as 'talatalo'
Password: <write your Lintula password here>
Removed user jmn from group talatalo.
hopeatilhi:~$




25.11.2008