Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,787

    Question on permission


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

  2. #2
    Linux 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)

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,787

    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/group
    Code:
    #audio:!:11:satimis
    audio:11:satimis
    Deleted "audio11: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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •