linux user group brescia

immagine del castello

Archivio della mailing list

[LugBS] Curiosità Vi

Claudio Moretti flyingstar16 a gmail.com
Mer 29 Feb 2012 09:14:17 UTC
On Wed, Feb 29, 2012 at 10:09, Claudio Moretti <flyingstar16 a gmail.com>wrote:

> Secondo me serve a evitare che la scritta
>
>> [sudo] password for user
>
>
> venga scritta nel file, ma non sono sicurissimo, perché se non glielo
> passo a me non cambia niente e, in tutti e due i casi, se sbagli 3 volte la
> password il testo viene sostituito con
>
>> Sorry, try again.
>> Sorry, try again.
>> Sorry, try again.
>> sudo: 3 incorrect password attempts
>>
> :
>>
>
> Leggendo qui [1] (grazie Google), sembra che ci fossi arrivato vicino

The > /dev/null part explicitly throws away the standard output, since, as
> I said, we don't need to pass anything to another piped command.
>

Claudio

[1] http://stackoverflow.com/a/7078429
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lugbs.linux.it/pipermail/lug/attachments/20120229/e52074a0/attachment-0001.html>


Maggiori informazioni sulla lista Lug