Page 1 of 1

how to add myself tot he group "games"

Posted: Sun Feb 22, 2004 12:18 am
by edudlive
I emerged the UT2k4 demo, but it said I have to be int he group "games"


How do I do that?

Re: how to add myself tot he group "games"

Posted: Sun Feb 22, 2004 12:22 am
by kojiro
edudlive wrote:I emerged the UT2k4 demo, but it said I have to be int he group "games"


How do I do that?
man usermod

Posted: Sun Feb 22, 2004 12:28 am
by ckenda1
you could just edit the /etc/group file with root... and add your username next to the group name 'games'

Posted: Sun Feb 22, 2004 12:40 am
by kojiro
ckenda1 wrote:you could just edit the /etc/group file with root... and add your username next to the group name 'games'
This is true, but on the other hand, if you misuse usermod, it'll give you an error message, but if you misuse /etc/group, it'll really mess up your system.

Posted: Sun Feb 22, 2004 2:32 am
by oldsk00l
the non-apprehensive answer would be

Code: Select all

usermod -G games <username>
For those sick of rtfm responses.

Posted: Sun Feb 22, 2004 2:58 am
by pi314
[OT]I prefere this way: If you had RTFM page 3 line 4 then you whould know you must type <commands to type> into your terminal, but a good manpage is better then no answer at all :wink: [/OT]

thx oldsk00l - this was something I would have a closer look at tomorror - now there is no more need to do so 8)

Posted: Sun Feb 22, 2004 11:02 am
by Mongrol
Problem with usermod is you need to specify all the groups the users already a member of on the -G arg, or it'll remove the user from any groups you don't list. Very crap.

Posted: Sun Feb 22, 2004 11:30 pm
by link97381
KDE has a nice program called KUser...makes editing users and groups easy