• su

su linus

su -c “urpmi supertux”

  • sg

sg grupo -c “comando”

Cuandos se usa sg solo se loguean intentos fallidos.

Jun 28 17:56:11 pulperia sg[7865]: Invalid password for group `users’ from `sergio’

  • sudo

Sudo is a program designed to allow a sysadmin to give limited root privileges
to users and log root activity.  The basic philosophy is to give as few
privileges as possible but still allow people to get their work done.

sergio@coldplay:~$ sudo apt-get install supertux
[sudo] password for sergio:
Have you considered trying to match wits with a rutabaga?
[sudo] password for sergio:
You can’t get the wood, you know.
[sudo] password for sergio:
And with that remarks folks, the case of the Crown vs yourself was pr


User_Alias     DBMASTER = sergio
User_Alias      RANGER = sergio
Runas_Alias    DB = mysql,root
root    ALL=(ALL) ALL
DBMASTER pulperia=(DB) /etc/init.d/mysqld,/usr/sbin/mysql*
RANGER pulperia=(ALL) /usr/bin/tail /var/log/messages,/sbin/reboot,/sbin/halt,/sbin/poweroff


Comments powered by Disqus