in reply to Re: Re: qx//, ssh -t (pseudo-tty) and sudo
in thread qx//, ssh -t (pseudo-tty) and sudo

Have you tried NOPASSWD in your sudo config? Something like:

# User specification
user machine=(otheruser) NOPASSWD: /bin/mv

  • Comment on Re: Re: Re: qx//, ssh -t (pseudo-tty) and sudo

Replies are listed 'Best First'.
Re: Re: Re: Re: qx//, ssh -t (pseudo-tty) and sudo
by bugsbunny (Scribe) on Nov 07, 2003 at 19:43 UTC
    hmm that is probably some solution, 'cause if I'm already logged as user X into the machine this means I know the password :")
    Except if someone succed to crack the machine remotely and log as user X. :"), then I'm in trouble...
    then i have to decide which is worse the password to be seen on console or not to ask for password at all...