[Linux-Biella] YUMI on Debian
Claudio M.
bilug a cmaffio.it
Mer 30 Lug 2014 13:57:50 CEST
In data mercoledì 30 luglio 2014 11:44:18, Leonardo Buffa ha scritto:
> spieghiamo quindi cosa fa su e cosa fa sudo
>
> sudo, seguito da un comando che (salvo eccezioni da file di conf)
> chiedera' la password dell'utente, consente di eseguire il comando dato
> con i privilegi di root.
>
> esempio
>
> leos a E330:~$ sudo reboot
> [sudo] password for leos:
>
> mi chiede la password, la MIA non quella di root!!!
nella conf di sudo esiste il parametro targetpw che in una situazione NON
configurata è impostato e quindi RICHIEDE la pwd di root
## In the default (unconfigured) configuration, sudo asks for the root
password.
## This allows use of an ordinary user account for administration of a freshly
## installed system. When configuring sudo, delete the two
## following lines:
Defaults targetpw # ask for the password of the target user i.e. root
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults
targetpw'!
bye
Maggiori informazioni sulla lista
Linux