LINUX.ORG.RU

Re: [Debian a-la Ubuntu] sudo

% sudo cat /etc/sudoers

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults

Defaults        !lecture,tty_tickets,!fqdn

# User privilege specification
root    ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL =(ALL) ALL
%admin ALL =(ALL) NOPASSWD: /usr/bin/make install, /usr/bin/unsermake install

wfrr ★★☆ ()

Re: [Debian a-la Ubuntu] sudo

% sudo cat /etc/sudoers

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults

Defaults        !lecture,tty_tickets,!fqdn

# User privilege specification
root    ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL =(ALL) ALL
%admin ALL =(ALL) NOPASSWD: /usr/bin/make install, /usr/bin/unsermake install

wfrr ★★☆ ()

Re: [Debian a-la Ubuntu] sudo

а прописывать там надо так же как и рута

а рут прописан по дефолту...

просто подписываешь свой логин на строчке ниже, и все остальное тем же регистром

MiklerGM ★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.