Показать сообщение отдельно

  #1382  
Старый 27.12.2009, 15:44
SeNaP
Участник форума
Регистрация: 07.08.2008
Сообщений: 281
С нами: 9347610

Репутация: 165
По умолчанию

Код:
# /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.
#
R
Defaults        env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
При использовании sudo, пишет что
Код:
senap@senap-desktop:~$ sudo
>>> sudoers file: syntax error, line 7 <<<
sudo: parse error in /etc/sudoers near line 7
senap@senap-desktop:~$ apt-get install apache2
E: Не удалось открыть файл блокировки /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Не стоило мне туда лазить