Find the answer to your Linux question:
Results 1 to 4 of 4
Say i wanted to grant a user named zedan access to yum without the password. What would i specify in sudoers. I tried the following Code: ## The COMMANDS section ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    67

    Question [Solved] sudoers command

    Say i wanted to grant a user named zedan access to yum without the password. What would i specify in sudoers. I tried the following

    Code:
    ## The COMMANDS section may have other options added to it.
    ##
    ## Allow root to run any commands anywhere 
    root	 ALL=(ALL) 	ALL
    zedan   ALL = PASSWD: ALL, NOPASSWD: /usr/bin/yum
    then in terminal


    Code:
    [zedan@localhost Scripts]$ sudo yum install Something
    [sudo] password for zedan:
    Why is it still asking me for the password ??

  2. #2
    Just Joined!
    Join Date
    Oct 2011
    Posts
    67
    Figured it out.. it was being overwritten..

  3. #3
    Just Joined!
    Join Date
    Oct 2011
    Posts
    67

    Cool

    Wish this forum had a "Mark thread as solved"

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Hi, zedan!

    The "Mark as Solved" feature isn't working correctly at this time, but I can mark it for you.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

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