juliansoares
(usa Debian)
Enviado em 10/07/2013 - 15:55h
falae galera abri o etc/sudoers e add meu user no sudo, porem ele pede senha toda vez que eu uso o sudo, isso é normal? tipo eu executei 'sudo apt-get update' blz pediu senha de root, coloquei, dai 1segundo dps executo outro comando com sudo, e novamente me pede senha, antes de formatar o note estava assim, com um timer ae pra executar os comandos com sudo antes de pedir senha novamente, e toda vez aparece esses escritos antes:
[julian@zeus] ~ $ sudo apt-get update
sudo: /var/lib/sudo owned by uid 1000, should be uid 0
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for julian:
o arquivo aberto com visudo :
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
julian ALL=(ALL:ALL) ALL
oracle ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d