The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Telnet help mrice UNIX for Dummies Questions & Answers 1 08-11-2007 10:10 AM
TELNET help seshumohan Windows & DOS: Issues & Discussions 1 03-08-2007 01:13 AM
telnet with ksh taboaspedro Shell Programming and Scripting 2 12-30-2005 07:04 AM
getting on to telnet tamworther UNIX for Dummies Questions & Answers 1 08-20-2002 01:50 PM
telnet krishna UNIX for Advanced & Expert Users 4 11-13-2001 01:04 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-16-2002
Registered User
 

Join Date: Aug 2002
Location: California, USA
Posts: 27
Stumble this Post!
Telnet

Hi,
When we use telnet (from unix workstation or windows) to remotely access the Unix server, the environment variables such as: DISPLAY, TERM, LOGNAME are communicate to the telnet server during the telnet session negotiation. By default these variables are passed to the server.

We can also manual enter these variables.

I am interest to know that is there anyway to store these variables in a file from the telnet client terminal. Then every time the telnet client is started, these variables will the read from the file and then pass to the server.

Thanks,
Forum Sponsor
  #2 (permalink)  
Old 09-16-2002
Kelam_Magnus's Avatar
Unix does a body good.
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Stumble this Post!
.login is used for this in /home/username

Acutally, default variables are stored on the remote UNIX system under your home directory in .profile or .cshrc. The default is under /etc/profile if it is not defined in your home directory config file.

I am not sure if what you ask can be done. Outside of having a script run on the box when you login. You can have a .login that runs when you login to execute variables.

__________________
My brain is your brain
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0