+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    1

    Smile Kornshell Script for automation of Login

     
    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
    Last edited by pareshan; December 1st, 2008 at 03:11 PM.

  2. #2
    Anime Otaku RobRich's Avatar
    Join Date
    Oct 2001
    Location
    Tampa, FL USA
    Posts
    115,823
    Blog Entries
    64
    Welcome to TechIMO.

    I am moving your thread over to the Unix forum.
    Robert Richmond | Infinite perceptions. One reality.
    TechIMO.com Editor-in-Chief

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Basic Login Account Script
    By J1mmy in forum Webmastering and Programming
    Replies: 1
    Last Post: June 5th, 2007, 06:13 PM
  2. Replies: 1
    Last Post: December 5th, 2005, 08:43 AM
  3. Win XP/Netware Login Script
    By ribster in forum Technical Support
    Replies: 0
    Last Post: July 10th, 2003, 06:16 AM
  4. Login script + IIS probs.
    By willy_ph in forum Webmastering and Programming
    Replies: 1
    Last Post: January 19th, 2003, 12:22 AM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews