Skip to main content

Hello! Is there a way to achieve auto-login to sudo mode without  entering the password when logging in via PasswordSafe.

I see there is a different workflow for login-account where commands & password are injected after SSH session is initiated e.g. Launch ssh session as login-account and then switch to root . 

Is there any way to configure PasswordSafe such that a managed-account logs in over SSH and a predefined sudo command is run , Passwordsafe injects the password for same account so that user doesn’t have to go back to browser where PasswordSafe is open , go back to open request or create one for password, copy the password, make sure they clicked inside SSH session, and then paste the password. 


I see an alternative is to allow sudo commands to run passwordless on managed systems. I think this is less secure approach than the above. 

 

Be the first to reply!

Reply