sudo and telnet

18 views
Skip to first unread message

jhnw...@gmail.com

unread,
Mar 1, 2016, 10:22:16 AM3/1/16
to Ansible Project
Looking to translate this to a playbook :

8. In your SSH Client (Putty), Log into the server using your an account
9. Become the LDAP User
sudo -u dbuser -i (this prompts for the remote_user's credentails
10. run an command
echo "logged in as dbuser"
11. Perform an On-Line backup of the DB service
telnet localhost 4111
Welcome to the DB Console
           tsa> dump db;
           Starting dump
           tsa> logout;
12. cd /app/TSA/data/backups (as dbuser)


Appreciate any help and thanks in advance.


Reply all
Reply to author
Forward
0 new messages