Bambui
(usa Debian)
Enviado em 09/10/2007 - 20:18h
tiagofga nao deu veja so o q aconteceu no meu terminal sera o q vou q fiz de errado:
rildo@rildo:~$ sudo apt-get update
rildo is not allowed to run sudo on localhost. This incident will be reported.
rildo@rildo:~$
veja tbm como ficou o meu /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.
#
Defaults env_reset
# Host alias specification
# User alias specification
User_Alias ADMINS=rildo
# Cmnd alias specification
# User privilege specification
ADMINS LOCAL=NOPASSWD: /usr/sbin/iptables
root ALL=(ALL) ALL