In data 15/03/2008 16:30 christian reguzzoni ha scritto:
ciao sapete dirmi come posso spegnere il pc come utente normale quando
finisco la sessione grazie ciao.
Io faccio così:
/etc/sudoers
Ho aggiunto questo:
Cmnd_Alias SHUTDOWN = /sbin/halt,/sbin/shutdown -h now,
/sbin/shutdown -r now
utente1 ALL = ALL
utente1,utente2,utente3 ALL = NOPASSWD: SHUTDOWN
Di modo che non ci sia bisogno di immettere la password per spegnere il
computer.
Utente1 ha più potere, in quanto immettendo la password può fare tutto.
Ciao.
--
Giulio Canevari
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]