Le 27 juillet 2000 � 22:44:46 +0200, olio a �crit :
> > - Comment permettre � un utilisateur de faire un shutdown sans se loguer root
> > (question fr�quente, il me semble, mais j'ai pas retrouv� la r�ponse ...)
> >
> un su root
ou sudo par exemple.
chez moi:
[root@nada alex]#visudo
[...]
# Cmnd alias specification
Cmnd_Alias REBOOT=/sbin/reboot,/sbin/shutdown,/sbin/halt
[...]
# User privilege specification
alex ALL=NOPASSWD:REBOOT
[alex@nada alex]$grep sudo .bashrc
alias reboot='sudo /sbin/reboot'
alias shutdown='sudo /sbin/shutdown'
alias halt='sudo /sbin/halt'
--
[EMAIL PROTECTED]
"Aide-toi et Linux t'aidera"
- Re: [debutant] Propre distrib Eric MC.D
- Re: [debutant] Propre distrib Raphy-Stoller
- Re: [debutant] Propre distrib Samuel Heurtebise
- Re: [debutant] Propre distrib lmichenaud
- Re: [debutant] Propre distrib David BAUDENS
- [debutant] Acc�s dossier win ?? St�phane
- Re: [debutant] Acc�s dossier win ?? olio
- Re: [debutant] Accs dossier win... Eric MC.D
- Re: [debutant] Accs dossier... alexandre.gilardoni
- Re: [debutant] Accs dossier... Eric MC.D
- [debutant] Re: Acc?s dossier wi... alexandre.gilardoni
- [debutant] Re: Acc�s dossier win ?? phil pham
- Re: [debutant] Acc�s dossier win ?? Marc CHANTREUX
- Re: [debutant] Acc?s dossier win+imw... Benoit Montessinos
- Re: [debutant] Propre distrib lmichenaud
- Re: [debutant] Propre distrib Jean-Bernard JACQUET
