LinuxQuestions.org
Visit Jeremy's Blog.
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 05-11-2010, 06:46 PM   #16
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,569
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026

These are typical groups that people usually add themselves to:
Quote:
audio video cdrom plugdev power netdev
 
Old 05-11-2010, 07:05 PM   #17
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
It only says users.
 
Old 05-11-2010, 07:06 PM   #18
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
How do I add the groups to my user?
 
Old 05-11-2010, 07:12 PM   #19
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,569
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Try [as root]:
Code:
usermod -a -G audio,video,cdrom,plugdev,power,netdev your_username
 
Old 05-11-2010, 07:58 PM   #20
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,771

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
Should mention: you have to log out and back in before groups take effect.
 
Old 05-11-2010, 09:47 PM   #21
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
It works. Sound works fine now! Thanks for the help!
 
Old 05-11-2010, 11:36 PM   #22
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,530

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
Quote:
Originally Posted by sycamorex View Post
Try [as root]:
Code:
usermod -a -G audio,video,cdrom,plugdev,power,netdev your_username
Slackware 13's usermod does not appear to have the "-a" option which I assume showed up in -current and which I further assume means to add you to each group in the list versus setting your groups to that list.

The following command will add you to the these groups in addition to whatever groups you already have configured and will work on older versions of Slackware.

Code:
for x in  audio video cdrom plugdev power netdev ; do gpasswd -a your_username $x; done
 
Old 05-12-2010, 03:07 AM   #23
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,569
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Quote:
Originally Posted by Richard Cranium View Post
Slackware 13's usermod does not appear to have the "-a" option which I assume showed up in -current and which I further assume means to add you to each group in the list versus setting your groups to that list.

The following command will add you to the these groups in addition to whatever groups you already have configured and will work on older versions of Slackware.

Code:
for x in  audio video cdrom plugdev power netdev ; do gpasswd -a your_username $x; done
Thanks. I should have remembered about it. I think someone already pointed it out in the past.
 
Old 05-12-2010, 10:13 AM   #24
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
I found that out when I put in the comand so I removed the "-a" and it worked. So yeah all is good.
 
  


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
Slackware 12 + ALC268 + Alsa-driver 1.0.18 = ALSA Error =No Sound (Tried erverything) morphynoman Slackware 9 12-04-2008 07:29 AM
Slackware 12 + ALC268 + Alsa-driver 1.0.18 = ALSA Error =No Sound (Tried erverything) morphynoman Linux - Hardware 2 11-12-2008 12:48 PM
broke gentoo after installing alsa-driver & alsa-utils snakeo2 Linux - Newbie 1 01-26-2006 08:05 AM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
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