Find the answer to your Linux question:
Results 1 to 5 of 5
hi, Is it any way to allow user install application and libs without adding them to sudo? Thank you in advance!...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    7

    allow user to use yum

    hi,

    Is it any way to allow user install application and libs without adding them to sudo?

    Thank you in advance!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    No. You have to add those users in sudoer. You can give then root privileges to execute yum command only. No need to give access to other Administrative Tools.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    7
    Quote Originally Posted by devils casper View Post
    No. You have to add those users in sudoer. You can give then root privileges to execute yum command only. No need to give access to other Administrative Tools.
    you mean a lines like this?

    Code:
    User_Alias	YUM_USER=jendo
    Cmnd_Alias 	YUM_INSTALL=yum
    YUM_USER  ALL=YUM_INSTALL

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by carramba View Post
    you mean a lines like this?

    Code:
    User_Alias	YUM_USER=jendo
    Cmnd_Alias 	YUM_INSTALL=yum
    YUM_USER  ALL=YUM_INSTALL
    Yes. It should work the way you want.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    7
    hum, I decided to create a group and then allow user in that group to install software.

    I created Cmd alias SOFTWARE, and added user like

    Code:
    %install_group ALL=SOFTWARE
    But then trying it out I get notification that I need to be root to do it.
    what is the problem?

Posting Permissions

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