Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by bugsbunny (Scribe)
on Nov 07, 2003 at 13:51 UTC ( [id://305292]=note: print w/replies, xml ) Need Help??


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

the program asking for password is in-fact SUDO,not the ssh.
For ssh i have keychain installed and configured, so it doesnt ask for password
  • Comment on Re: Re: qx//, ssh -t (pseudo-tty) and sudo

Replies are listed 'Best First'.
Re: Re: Re: qx//, ssh -t (pseudo-tty) and sudo
by Anonymous Monk on Nov 07, 2003 at 14:20 UTC

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

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

      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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://305292]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-19 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found