[OpenIndiana-discuss] zfs snapshot script

Edward Ned Harvey openindiana at nedharvey.com
Sun May 1 15:48:05 UTC 2011


> From: Matt Connolly [mailto:matt.connolly.au at gmail.com]
> 
> client$ ssh user at host sudo zfs snapshot blah -> fails = sudo: no tty
present
> and no askpass program specified

# Note: must have a TTY to run sudo, hence the double -t
ssh -t -t user at host 'sudo blah'




More information about the OpenIndiana-discuss mailing list