Results 1 to 10 of 10

Thread: telnet question

  1. #1
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    138

    Unanswered: telnet question

    My OS is SCO Open Server. Every user opens a telnetsession over IP and get a Shell. I can see with the ps -ef command the sh on (example) ttyp0. How can I find out from which IP-Adress this sh with PID xyz is opened.

    Many thanks

    Greetings from germany

    Peter
    Greetings from germany
    Peter F.

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool


    Don't know SCO, but this may work:
    Code:
    who|grep 'ttyp0'

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    138

    Thumbs up

    Quote Originally Posted by LKBrwn_DBA

    Don't know SCO, but this may work:
    Code:
    who|grep 'ttyp0'


    thaks for your posting. A good tip. I read the manuel about the who command. "who -x" shows that what I want.

    Greetings from Germany
    Peter
    Greetings from germany
    Peter F.

  4. #4
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    138

    Thumbs up t

    Quote Originally Posted by LKBrwn_DBA

    Don't know SCO, but this may work:
    Code:
    who|grep 'ttyp0'


    thaks for your posting. A good tip. I read the manuel about the who command. "who -x" shows that what I want.

    Greetings from Germany
    Peter
    Greetings from germany
    Peter F.

  5. #5
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool


    Good luck!
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  6. #6
    Join Date
    Aug 2004
    Posts
    10
    try last command

    last|grep "ttynumber"

  7. #7
    Join Date
    Aug 2004
    Posts
    10

    last command

    try last command

    last|grep "ttynumber"

  8. #8
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool


    last command gives history, who gives current logins.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  9. #9
    Join Date
    Mar 2006
    Posts
    25
    i think u can use

    who -R|grep ttyp0

    regards
    prashant.

    Quote Originally Posted by fla5do
    My OS is SCO Open Server. Every user opens a telnetsession over IP and get a Shell. I can see with the ps -ef command the sh on (example) ttyp0. How can I find out from which IP-Adress this sh with PID xyz is opened.

    Many thanks

    Greetings from germany

    Peter

  10. #10
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    138
    Quote Originally Posted by prashant_add
    i think u can use

    who -R|grep ttyp0

    regards
    prashant.
    your command isn´t supported by SCO-UNIX.
    "who -x" shows that what I want.
    Thanks for your posting

    Peter.F
    Greetings from germany
    Peter F.

Posting Permissions

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