Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

identifying a remsh executed script

Status
Not open for further replies.

Birbone

MIS
Dec 20, 2000
141
0
0
US
How can a script identify when it is being called remotely via remsh vs. being called locally via a user? -Bobby s-)
bwgunn@icqmail.com
 
Local means interactive? Try 'tty' command. If not try to look at your process tree if a 'remsh' is present somewhere in the parent list.

Yours, Mauro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top