Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Switching a user in ssh task from bamboo

Asjad September 26, 2016

i am logging with one id to do a ssh task. In the ssh task i have to run the script using a admin id for which i only have sudo access.

as i don't have password for admin id and adding sudo command to switch to admin id, but the switch is not happening it getting stuck while switching. The server is solaris based and it gets hanged during the switch. Please help

1 answer

0 votes
Frédéric CORNU September 26, 2016

Hi,

sudo , right, but with or without password ?

Asjad September 26, 2016

without password... and it is solaris server

Asjad September 27, 2016

Please help me with the solution. I am stuck on this from a long time.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events