Re: Password handling through remote SSH session

Daniele Palumbo <[email protected]> Wed, 14 Aug 2019 20:16:48 +0200
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
Hi,

Can you please describe better your scenario?
Like:
Is ssh passwordless?
Is the destination user in ldap/some other central authentication?
What sudo rules are you going to assign?
Is the user used only for a certain application/activity?
Do you have a pam provider in place?

About how to NOT do it, remind that your prompt may change. And that not all stderr messages are fatal.

HTH,
Daniele

Il 14 agosto 2019 20:10:20 CEST, Gabe Alford <[email protected]> ha scritto:
>Hello,
>
>I have a QT application that logs into a remote machine through SSH. I
>need
>to handle password authentication in sudo to run administrative
>commands.
>What's the best way of handling a password prompt remotely with sudo? I
>would like to have the QT application just pass the password to sudo in
>some way so there is still human interaction involved. Just not sure
>what
>is the best way or if there is a programatic way.
>____________________________________________________________
>sudo-users mailing list <[email protected]>
>For list information, options, or to unsubscribe, visit:
>https://www.sudo.ws/mailman/listinfo/sudo-users
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users