[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: spegnere pc come utente



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


Reply to: