Skip to content

Instantly share code, notes, and snippets.

@coderua
Created December 11, 2012 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderua/4263417 to your computer and use it in GitHub Desktop.
Save coderua/4263417 to your computer and use it in GitHub Desktop.
Unix: Sudo without password
# Чтобы не вводить пароль при каждом повышении привилигей (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