FreeBSD: Install sudo Command, Allow wheel Group Users To Execute A Command As The Root [Without a Password]

1.Update the pkg tool

# pkg update

2.Install sudo

# pkg install sudo

3.Run 'visudo' command to configure sudo.

# visudo

4.Uncomment to Allow members of group wheel to execute any command.

# %wheel ALL=(ALL) ALL

5.Uncomment to Allow members of group wheel to execute any command without a password.

# %wheel ALL=(ALL) NOPASSWD: ALL

6.Save and close the file.

Comments

Popular posts from this blog

Python3 + Django + uWSGI + Nginx On FreeBSD

arduino最小構成 (atmega328/8MHz/3.3V/内部クロック)FT232RLにてブートローダーの書き込み

FreeBSD: Configuring Apache to permit CGI