Computing.Net > Forums > Linux > telnet exiting

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

telnet exiting

Reply to Message Icon

Name: xsu
Date: August 6, 2002 at 09:38:30 Pacific
Comment:

hey everyone.

i have been set a task on a friends system, the task requires me to stop the telnet session ending once i have logged in with the username and password i have been given.

what happens is this: i telnet to the address, login with the username and password, but then the session ends and the telnet window closes.

i have shell access to this machine to change any settings etcetera, that is the whole idea, its a challenge to see if i can stop it exiting.

i was wondering if anyone might know where on the system i should start looking to fix this problem.

thanx.



Sponsored Link
Ads by Google

Response Number 1
Name: Josh
Date: August 6, 2002 at 14:56:49 Pacific
Reply:

There are a few things this could be.

1. You are trying to log in as a "0" user, or a root equivalent - and PAM or some other security is preventing you from logging in anywhere but on the console. Make sure your user or group number in /etc/passwd is not "0".

2. And most likely, you don't have a home directory, or you don't have read/write access to the home directory in /etc/passwd. Also, make sure the shell in the /etc/passwd line exists as well.

If you have access to the console, you can always "su" as that user and more details will be given, or check /var/log/syslog for more info on what's going on.


0

Response Number 2
Name: dfx
Date: August 6, 2002 at 22:33:23 Pacific
Reply:

Make your telnet window NOT close when the connection dies, there may be an error message that you don't see.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: telnet exiting

Telnet User www.computing.net/answers/linux/telnet-user/13647.html

Telnet user redirectng/piping stdin/out? www.computing.net/answers/linux/telnet-user-redirectngpiping-stdinout/7365.html

Telnet user /dev www.computing.net/answers/linux/telnet-user-dev-/7364.html