Re: Sudo
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kader Portales Ferrer wrote:
> Hola lista.
> Estoy queriendo empezar la configuración de sudo y como primer ejemplo
> quiero darle permiso ha usar el comando aptitude a un usuario llamado
> administrador, lo estoy haciendo de esta manera, agrego esta linea al
> /etc/sudoers:
> administrador kader=NOPASSWD:/usr/bin/aptitude root
Esto definitivamente esta mal. Lee la documentacion, es clara al
respecto, sobre todo los ejemplos en /usr/share/doc/sudo/examples/sudoers
> Pero cuando hago:
> sudo aptitude
> el sitema me devuelve esto:
> 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.
>
> Password:
> Sorry, try again.
> Password:
> repito la contraseña mil veces y mil veces sale este mensaje.
>
> Estoy haciendo algo mal.
No hay dudas.
>
- --
Ricardo A.Frydman
Consultor en Tecnología Open Source - Administrador de Sistemas
jabber: ricardoeureka@gmail.com - http://www.eureka-linux.com.ar
SIP # 1-747-667-9534
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFEJVjtkw12RhFuGy4RAhecAJ9vznKQ2LosZDhIHDkfRbvUbBUIpQCeMVlz
w5AHEUhrdDGVgLMhBaQjZUI=
=4KfF
-----END PGP SIGNATURE-----
Reply to:
- References:
- Sudo
- From: Kader Portales Ferrer <kader@ispscu.rimed.cu>