users and groups
H.S.
hs.samix at gmail.com
Sat Dec 27 16:57:18 UTC 2008
Matthew Flaschen wrote:
> Karl F. Larsen wrote:
>> If you want this user to be able to use another Desktop he must be
>> given the Group that can use this. You do this with addgroup as root.
>
> Wrong. All addgroup does is add a group with the GID optionally
> specified on the command line. It does not add users /to/ groups. As
> the man page says, "The group is created with no users." To add a user
> to the group, you use usermod as I already said.
Or just use adduser thus:
$> sudo adduser username group
where username is the user you want to add to "group".
To remove a user form a group, use:
$> sudo deluser username group
->HS
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
More information about the ubuntu-users
mailing list