sudo stdsl.sh start
echo heslo | sudo -S prikaz
Kód: [Vybrat]echo heslo | sudo -S prikaz
koukl bych co umí: visudo
Pridejte uzivatele do skupiny "sudo". Nic vic, nic min.
# /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# DefaultsDefaults !lecture,tty_tickets,!fqdn# User privilege specificationroot ALL=(ALL) ALL# Members of the admin group may gain root privileges%admin ALL=(ALL) ALL, NOPASSWD: /usr/sbin/stdsl.sh