Results 1 to 4 of 4

Thread: sudoers

  1. #1

    Default sudoers

    Okay, I'm mostly a command line person but want to familiarize myself with this YaST/GUI.

    I'm trying to set up the Sudoers file, and I went to put in my username, All, need password, and then what category/alias do I put it in for permissions? I want them to have full root access, but log by username and sudo in with username password, not root pass.

    -Tad

  2. #2

    Default Re: sudoers

    not sure what you're looking for..

    you can just give them access to yast2 if you want (I believe that would actually give them access to yast2 sw_single etc.. I haven't actually tested though.

    As for the root portion, you can comment out the targetpw line
    How much can you know about yourself if you've never been in a fight. - Fight Club

    Ben Kevan's Blog - That's me

  3. #3

    Default Re: sudoers

    I plan on setting it up with sshd. And when the individual user logs in, when s/he sudos in, I want them to have to type in their password. Not the roots. But I want them to have full access to root. All via sshd. How would I set something like that up via the YaST GUI?

  4. #4

    Default Re: sudoers

    Quote Originally Posted by adelsin View Post
    I plan on setting it up with sshd. And when the individual user logs in, when s/he sudos in, I want them to have to type in their password. Not the roots. But I want them to have full access to root. All via sshd. How would I set something like that up via the YaST GUI?
    Ah.. easy enough:

    Do the following:
    Comment out:
    Defaults targetpw

    Add:
    User_Alias U_Admins=username,username

    Add:
    U_Admins ALL=(ALL) ALL
    How much can you know about yourself if you've never been in a fight. - Fight Club

    Ben Kevan's Blog - That's me

Posting Permissions

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