su password prompt ti stdout instead of /dev/tty

Cyrille Lefevre cyrille.lefevre-lists at laposte.net
Mon Jan 25 09:37:14 UTC 2010


jhell a écrit :
> 
> If you mean for the program to appropriately append or overwrite to a 
> file you should ( su user -c 'date >output 2>&1' ) instead

no, I wanted the log written by the initiator, not the receiver.

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists at laposte.net




More information about the freebsd-stable mailing list