Results 1 to 3 of 3
Hi folks,
BLFS 6.1
"alsamixer" can only be evoked as root.
bash-3.00$ which alsamixer
Code:
/usr/bin/alsamixer
After running
# chmod u+s /usr/bin/alsamixer
it can be started by all users but ...
- 09-29-2005 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
Question on permission
Hi folks,
BLFS 6.1
"alsamixer" can only be evoked as root.
bash-3.00$ which alsamixerAfter runningCode:/usr/bin/alsamixer
# chmod u+s /usr/bin/alsamixer
it can be started by all users but a grey window only without colour.
How to only authenticate "satimis" to start it in colour window not all users and how to make it?
TIA
BR
satimis
- 09-29-2005 #2Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
Group permissions
You should add your user to the audio group (see /etc/groups).
Audio group should be able to read and write on /dev/mixer, so your user (in the group audio) should setup mixer values.When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 09-30-2005 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
Re: Group permissions
Hi burnit,
Tks for your advice.
I already fixed the problem with following steps;
1)
There was a mistake on following 2 lines on /etc/groupDeleted "audioCode:#audio:!:11:satimis audio:11:satimis
11:satimis" and amended the 2nd line as "audio
:11:satimis"
2)
# chown root:audio /usr/bin/alsamixer
3)
# chmod -c 550 /usr/bin/alsamixer
Now "alsamixer" can be started as "satimis". The remaining minor problem is as "satimis" the vertical bar is black, not colour. Volumn can be adjusted.
As root the bar is coloured. I'm now searching for its cause. Any advice? TIA
BR
satimis


Reply With Quote
