Created
December 11, 2012 23:40
-
-
Save coderua/4263417 to your computer and use it in GitHub Desktop.
Unix: Sudo without password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Чтобы не вводить пароль при каждом повышении привилигей (sudo -s) необходимо | |
# 1. В файл sudoers нужно добавить стоку. | |
# 2. Изменить <username> на реальное имя пользователя в системе | |
# Примечание. В FreeBSD полный путь к файлу — /usr/local/etc/sudoers, в Linux Ubuntu — /etc/sudoers. | |
<username> ALL=(ALL) NOPASSWD: ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment