#!# A simple guide to editing the sudoers file //FreeBSD

Discussion in 'Archives' started by 1ce, Mar 25, 2011.

#!# A simple guide to editing the sudoers file //FreeBSD
  1. Unread #1 - Mar 25, 2011 at 9:43 PM
  2. 1ce
    Joined:
    Mar 11, 2011
    Posts:
    261
    Referrals:
    1
    Sythe Gold:
    0

    1ce Forum Addict
    Banned

    #!# A simple guide to editing the sudoers file //FreeBSD

    Since FreeBSD doesn't immediatly allow you to access to the sudoers file, I'll write a simple tutorial on how to enable that.

    <guide>

    Alright guys, first thing is first, su to root!
    Now we will be editing "sudo", to do this do:

    <example>
    visudo
    </example>

    You will now be editing the sudo file, now to add yourself to the sudoer's list, scroll down using your arrow keys and find:

    <editing with vi>
    # %wheel ALL=(ALL) ALL
    Remove the #

    if you wish to sudo without having to authorize with a password, instead edit:

    # %wheel ALL=(ALL) NOPASSWD: ALL
    Remove the #

    To write and quit your entry in visudo, type the following:
    :wq
    (you will need to type the colon :))).

    </editing with vi>
    </guide>

    I hope his helps y'all.
     
< Which is worth more? | Sythe Layout question >

Users viewing this thread
1 guest


 
 
Adblock breaks this site