crear un grupo, agregar el usuario. hasta hay llegamos, pero darle los
permisos a los comando como hago ?


tenes que editar el sudoers con visudo, agregar el grupo y ahi pones los
comandos que queres que puedan ejecutar...

# /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.
# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults

Defaults        !lecture,tty_tickets,!fqdn

# User privilege specification
root    ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

migrupo  /bin/mount parametros,/bin/umount,etc...

para mas detalles --> man sudoers




--
Gonzalo, Romano

Responder a