You are not logged in.
Pages: 1
Hi i've got a quick question, should I add my user to the group "users" after a reinstall and following the beginners guide under "Add a user and setup groups" it says to add my user to these groups:
usermod -aG audio,video,floppy,lp,optical,network,storage,wheel USERNAME
But it says nothing about the group, "users".
Under http://wiki.archlinux.org/index.php/Groups it says the following about the "users" group,
users = default users group (recommended)
So i'm guessing i should add my user to the users group and I or someone should change the beginners guide to include the group "users" when you set groups like so..
usermod -aG audio,video,floppy,lp,optical,network,storage,wheel,users USERNAME
Is this correct?
Offline
Your user certainly should be in the 'users' group - are you sure you aren't _already_ in that group, and the usermod command is just adding additional groups?
Offline
Your user certainly should be in the 'users' group - are you sure you aren't _already_ in that group, and the usermod command is just adding additional groups?
Oh, strange i've just rechecked /etc/groups and nope i'm not already in that group.
/etc/group reads as follows..
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root,ash
ftp::11:
mail::12:
log::19:root
smmsp::25:
games::50:ash
network:x:90:ash
video:x:91:ash
audio::92:ash,mpd
optical::93:ash,hal
floppy:x:94:hal
storage:x:95:ash,hal
power:x:98:
nobody::99:
users::100:
locate:x:21:
dbus:x:81:
hal:x:82:
avahi:x:84:
mpd:x:45:
I'll do a "usermod -aG users ash", also does my /etc/groups look ok to you is there any other groups I should be a part of by default?
Last edited by Breakage (2008-03-02 13:14:43)
Offline
You'll know if you need to be part of group when you get a permission denied error, you don't have to get it all right off the bat. :-)
Dusty
Offline
Ok, thanks Cerebral & Dusty.
Offline
I am quite certain that your new user is automatically added to the users group. the other groups are added (if you so choose) in the next step.
Login as your user. What is the output of the groups command?
[matthew@mushroom ~]$ groups
disk wheel log network video audio optical storage power users
Smarter than a speeding bullet
My Goodreads profile
Offline
I am quite certain that your new user is automatically added to the users group. the other groups are added (if you so choose) in the next step.
Login as your user. What is the output of the groups command?
[matthew@mushroom ~]$ groups disk wheel log network video audio optical storage power users
On my last install I as far a I can remember my user account was in the groups users, as I look back now then this must have been done automatically. But with this new install (ftp iso) I had the /tmp bug, so I had to 'chmod 1777 tmp' and on this install when I done 'adduser' to make the account then added groups I double checked with 'groups ash' and I can remember that 'users' was not there.
I've just added this user account to users and now the output of the command 'groups' is the following..
ash@breakage:~ $ groups
wheel games network video audio optical storage users
Offline
Pages: 1