• Log in or sign up for an account here: https://www.sythe.org/login

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

1ce

Forum Addict

Banned
Joined
Mar 11, 2011
Sythe Gold
0
Messages
261
Location
Alaska
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.
 
Runescape Gamblingrunescape gambling
Back
Top