LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   What groups should i add to 'user' (https://www.linuxquestions.org/questions/slackware-14/what-groups-should-i-add-to-user-4175420184/)

holden87 08-03-2012 09:03 AM

What groups should i add to 'user'
 
Hi!

I'm just wondering, i don't seem to find the list of groups where it's possible to add my user account. Will it be possible for me to set-up my eduroam network via network manager and so on if i just press enter at the group adding in adduser?

Thanks!

sycamorex 08-03-2012 09:12 AM

Quote:

i don't seem to find the list of groups where it's possible to add my user account.
Code:

usermod -a -G floppy,audio,video,cdrom,plugdev,power,netdev username

holden87 08-03-2012 09:30 AM

thank you!!

Now i'll try to set it up! :D

dugan 08-03-2012 09:33 AM

Quote:

Originally Posted by holden87 (Post 4745021)
I'm just wondering, i don't seem to find the list of groups where it's possible to add my user account. Will it be possible for me to set-up my eduroam network via network manager and so on if i just press enter at the group adding in adduser?

You press UP to automatically populate the list of groups. Then you press ENTER.

Yes, the resulting list of groups will give you enough privileges to run wicd (and therefore network manager).

sycamorex 08-03-2012 09:36 AM

Quote:

Originally Posted by dugan (Post 4745048)
Press UP to automatically populate the list of groups. Then press ENTER.

Yes, that's the most recommended way. I assumed that the OP means at a later stage.

Eternal_Newbie 08-03-2012 09:40 AM

by default your user is a member of these groups:
Code:

bash-4.1$ groups
users sys lp floppy audio video cdrom plugdev power netdev scanner

that is enough for most purposes

onebuck 08-03-2012 02:46 PM

Member Response
 
Hi,
Quote:

Originally Posted by Eternal_Newbie (Post 4745057)
by default your user is a member of these groups:
Code:

bash-4.1$ groups
users sys lp floppy audio video cdrom plugdev power netdev scanner

that is enough for most purposes

By default the 'users' group is the initial group unless you add groups;
Quote:

Initial group [ users ]:
Additional UNIX groups:

Users can belong to additional UNIX groups on the system.
For local users using graphical desktop login managers such
as XDM/KDM, users may need to be members of additional groups
to access the full functionality of removable media devices.

* Security implications *
Please be aware that by adding users to additional groups may
potentially give access to the removable media of other users.

If you are creating a new user for remote shell access only,
users do not need to belong to any additional groups as standard,
so you may press ENTER at the next prompt.

Press ENTER to continue without adding any additional groups
Or press the UP arrow key to add/select/edit additional groups
: audio cdrom floppy plugdev video power netdev
Press ENTER to continue without adding any additional groups

Please note the results of the up arrow that provides suggested groups to a editable line to add or delete groups to be added for the new 'user'.

Eternal_Newbie 08-03-2012 06:43 PM

Quote:

Originally Posted by onebuck (Post 4745267)
Hi,
By default the 'users' group is the initial group unless you add groups;Please note the results of the up arrow that provides suggested groups to a editable line to add or delete groups to be added for the new 'user'.

Yeah, got that one wrong, sorry,

EDIT: and sycamorex had already answered the OP's question properly, anyway.

ReaperX7 08-03-2012 07:13 PM

"floppy,audio,video,cdrom,plugdev,power,netdev,wheel,lp,scanner" is what I normally use.

"lp" and "scanner" is used mostly for printers and scanners, so add them if needed.

"wheel" is good for Power Users but only ad it if absolutely needed, otherwise don't.


All times are GMT -5. The time now is 10:01 AM.