Hi Everyone, I got the task writting Korn Shell script to automate the tuxedo login so that users neednot have to enter options manually. I have done that using expect tool from the Unix but my manger told me its not secure so you have to do that using Kornshell without using Expect. Here is the way to login to that tuxedo account
1> first we have to ssh to the unix server and from there we have to do
get_in_tux.csh account_name
2> it will prompt
To continue press ENTER ...
3> after enter we will get
JULIET: Press Enter to continue ...
4> after enter it will prompt for
JULIET - Your Tuxedo Administrator C.P: Main menu
Main menu:
(1) DB handling ->
(2) Tuxedo handling ->
(3) CAS handling ->
(4) Client operations ->
(5) Logs ->
(6) General utilities ->
(7) Help ->
(8) WebLogic handling ->
(9) What's new ...
(0) Quit JULIET
Please select option :
here we can choose either of these options
s for to go to shell
and 0 (zer0) for logout
I know its a long description but i tried to make it clear so that it will be easier to understand. I am really in big trouble. So I need such a script which can automate all this steps so that we dont need to provide those options and we can directly enter into those account and logout if needed sitting in the remote server.
Thank You In advance
Any help will be appreciated