marcelotk15 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 0 forks source link

TELNET not working #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. After login (user and password authentication OK!) the message "login: 
cannot run /sbin/nologin: No such file or directory" is displayed and telnet 
session is closed
2.
3.

What is the expected output? What do you see instead?
telnet session is closed

What version of the product are you using? On what operating system?
snakeos-V1.2.0-20100621-from-original.bin

Please provide any additional information below.

Original issue reported on code.google.com by rodrigo....@gmail.com on 5 Nov 2010 at 1:26

Attachments:

GoogleCodeExporter commented 9 years ago
can you use login as "root" instead of your username?

Original comment by ray.ray...@gmail.com on 14 Nov 2010 at 6:45

GoogleCodeExporter commented 9 years ago
Tks guys! I hadn´t noticed to log as root.

Original comment by rodrigo....@gmail.com on 18 Mar 2011 at 4:49

GoogleCodeExporter commented 9 years ago
Just to methion this for some useful experiences. I tried to create a new user 
via chroot env by adduser, it works perfectly, but when you try to adduser on 
the original root env, since you don't have a user folder, it automatically 
quits even if you login successful, since the machine has no space for a new 
user folder i guess, its impossible to login as a new user via original env. If 
anyone successfully done that, please share how you did.
Ted

Original comment by ted.cho...@gmail.com on 14 Apr 2011 at 4:05

GoogleCodeExporter commented 9 years ago
I have same problem, even with user root. I use the password set by 
webinterface under Admin password. I use SNAKE OS V1.3.2 (20101130).
Apart from being unable to connect via Telnet I also have the problem of not 
accepting the password via SSH (PuTTY).
Last week I did a fresh reinstall of Snake-OS, but same results. May changing 
the Admin password cause this problem?
Plse help, because I need to connect to solve another problem (chmod to be able 
to write via FTP).

Original comment by JohnLee...@gmail.com on 1 Oct 2011 at 12:11

GoogleCodeExporter commented 9 years ago
#4
The web interface and telnet/ssh use seperate passwords. The default password 
for root is "snake".

And.. better late than never... 
#1
I think you are trying to log into an account that was defined from the web 
interface. Those accounts are only supposed to be used by services. To define 
shell accounts use the adduser command.

#3
If I log in with a "homeless" user it just drops me to /. 
You could put the home directory on one of the attached disks. Addusers -h 
option allows you to set a different path for the home directory.

Original comment by stefansc...@googlemail.com on 3 Oct 2011 at 12:42

GoogleCodeExporter commented 9 years ago
Stefan,
Thanks for your answer. I already tried the combinations admin/snake and 
root/snake (last one should do it), but no success. BTW: I try SSH via WiFi. 
Could that cause a problem (as WiFi seems to generate lots of 'instable' 
communications)? Tonight I'll try LAN connection to see if that solves anything.

Original comment by JohnLee...@gmail.com on 3 Oct 2011 at 10:11

GoogleCodeExporter commented 9 years ago
No idea. Maybe the wireless router is doing something bad.

Just to make sure. Is the telnet service actually enabled?

If so, do you get the greeting and then it kicks you out.. like in the 
screenshot attached to the original post?

Original comment by stefansc...@googlemail.com on 4 Oct 2011 at 2:57

GoogleCodeExporter commented 9 years ago
yeah, telnet up and running. And yes, screenshot exactly the same.

Original comment by JohnLee...@gmail.com on 4 Oct 2011 at 4:26

GoogleCodeExporter commented 9 years ago
That's really strange. Have you tried to reset the config? IIRC the reinstall 
should have done that already, but I can't think of anything else to try.

Original comment by stefansc...@googlemail.com on 4 Oct 2011 at 6:14