Passing parameters to a telnet session?

Ask a Question related to Debian, Design and Development.

  1. #1

    Default Passing parameters to a telnet session?

    Does anyone know if there is a way to pass a parameter to a telnet session?

    I have set up a user on one box that does not require a password to log
    in. I telnet to his account from another box using:

    telnet hostname -l username

    I want to be able to pass a parameter of some kind, or set an
    environment variable that I can test in .bash_profile and determine the
    specific action to be taken depending on its value. Is this possible,
    or am I barking up the wrong tree?

    Marc Shapiro



    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Marc Shapiro Guest

  2. Similar Questions and Discussions

    1. Passing Parameters To CFC
      I am testing how to return data from a CFC within Flash Forms. I have a simple <cfselect> tag that will hold data returned from a CFC. This CFC...
    2. passing parameters
      Hi Michael, I think you want to modify the links in web control programmatically. You can add several Hyperlink controls to the user control,...
    3. Passing Parameters into NEW()
      Is there any way that the NEW() of a web service can accept parameters ? I would like to pass a boolean to indicate to the webservice that I am in...
    4. Passing parameters - currency
      Hi , i'm tryong to pass a parameter to a web service but i get an error something like "..input string is not well formatted...." i'm using this...
    5. Help Passing Parameters
      Before going to the third script I'd suggest storing the variables in session variables. Here's how I generally do login scripts. Perhaps have...
  3. #2

    Default Re: Passing parameters to a telnet session?

    On Monday 04 August 2003 19:48, Marc Shapiro wrote:
    > I have set up a user on one box that does not require a password to log
    > in.
    That's not a Good Thing (TM) unless you're in a very trusted environment, and
    even there I would not consider it unless absolutely unavoidable.
    > I want to be able to pass a parameter of some kind, or set an
    > environment variable that I can test in .bash_profile and determine the
    > specific action to be taken depending on its value. Is this possible,
    > or am I barking up the wrong tree?
    I'd recommend you use ssh with public key authentication for that. It's
    probably better suited for what you need by allowing remote command
    execution.

    --
    Got Backup?


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Nicos Gollan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139