Pessoal, como ja citei anteriormente apos criar o usuario com senha e com 
nopasswd, depois que eu dou o boot, ele pede a senha do root novamente, acho 
que tem a ver com o esquema do pam, abaixo o meu sudoers...
Devair

# sudoers file.
# This file MUST be edited with the 'visudo' command as root.
# See the sudoers man page for the details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Prevent environment variables from influencing programs in an
# unexpected or harmful way (CVE-2005-2959, CVE-2005-4158, CVE-2006-0151)
Defaults        always_set_home
Defaults        env_reset
Defaults        env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE 
LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC
# Comment out the preceding line and uncomment the following one if you need
# to use special input methods. This may allow users to compromise  the root
# account if they are allowed to run commands without authentication.
#Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION 
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAP
# In the default (unconfigured) configuration, sudo asks for the root 
password.
# This allows use of an ordinary user account for administration of a 
freshly
# installed system. When configuring sudo, delete the two
# following lines:
Defaults        targetpw
ALL     ALL = (ALL) ALL
ibi302  ALL = (ALL) NOPASSWD: /bin/mount -t cifs,/bin/umount
grac150 ALL = (ALL) NOPASSWD: /bin/mount -t cifs,/bin/umount
grac107 ALL = (ALL) NOPASSWD: /bin/mount -t cifs,/bin/umount
grac135 ALL = (ALL) NOPASSWD: /bin/mount -t cifs,/bin/umount
bar550  ALL = (ALL) NOPASSWD: /bin/mount -t cifs,/bin/umount
devair  ALL = (ALL) NOPASSWD: ALL
root    ALL = (ALL) ALL


---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a