gesousa
(usa Ubuntu)
Enviado em 08/05/2009 - 18:32h
Olha o comando é este:
ex:
usermod -a -G admin gesousa
Verifica se colocou o "G" maiúsculo, pois no linux há diferença...
no visudo
o meu ficou assim:
# /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
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
#Cmnd_Alias SYSTEM = /sbin/shutdown, /sbin/halt, /sbin/reboot, /sbin/poweroff
# User privilege specification
root ALL=(ALL) ALL
%admin ALL = (ALL) NOPASSWD:/sbin/shutdown -hP now
# Members of the admin group may gain root privileges
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
gesousa ALL=(ALL) ALL
salvar e sair
depois disso se querer ter acesso a menu do grupo
alt+f2
gksu users-admin &