LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-03-2012, 10:03 AM   #1
holden87
Member
 
Registered: Jul 2012
Location: Slovenia
Distribution: openSUSE 13.1
Posts: 37

Rep: Reputation: 7
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!
 
Old 08-03-2012, 10:12 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
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
 
2 members found this post helpful.
Old 08-03-2012, 10:30 AM   #3
holden87
Member
 
Registered: Jul 2012
Location: Slovenia
Distribution: openSUSE 13.1
Posts: 37

Original Poster
Rep: Reputation: 7
thank you!!

Now i'll try to set it up!
 
Old 08-03-2012, 10:33 AM   #4
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,984

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
Quote:
Originally Posted by holden87 View Post
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).

Last edited by dugan; 08-03-2012 at 10:35 AM.
 
Old 08-03-2012, 10:36 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Quote:
Originally Posted by dugan View Post
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.
 
Old 08-03-2012, 10:40 AM   #6
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
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
 
Old 08-03-2012, 03:46 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,447
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Member Response

Hi,
Quote:
Originally Posted by Eternal_Newbie View Post
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'.
 
Old 08-03-2012, 07:43 PM   #8
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
Quote:
Originally Posted by onebuck View Post
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.

Last edited by Eternal_Newbie; 08-03-2012 at 07:51 PM.
 
Old 08-03-2012, 08:13 PM   #9
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,833
Blog Entries: 15

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
"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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do I always should add my user to some system groups? Mr. Alex Linux - Newbie 8 08-10-2010 04:49 AM
[SOLVED] What's the command to add these groups to user account? cola Slackware 13 01-30-2010 05:39 AM
How to add/remove groups with user? cola Slackware 6 12-28-2009 03:16 PM
What groups to add a new user to? prophet621 Linux - Newbie 2 03-02-2005 12:17 PM


All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration