Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Orion on May 30, 2003, 10:18:44 AM

Title: Telnet into console problem
Post by: Orion on May 30, 2003, 10:18:44 AM
Hi,

I have a problem which I cannot seem to solve it, urgent help needed.

I tried to telnet into my SME 5.6 from my Windows client, I login and the text-based server manager appears on the telnet windows.

What I really want is to send Alt-F2 so that I can get on to the text-based console prompt - the usual login screen for text-based login.

I don't know how to get rid of the Server Console screen once I successfully telnet into the SME 5.6 Server, can someone enlighten me with some good tips?

Thanks so much!
Title: Re: Telnet into console problem
Post by: Cyrus Bharda on May 30, 2003, 10:22:20 AM
Orion,

You are loggong on as admin right? If yes then try logging on as root instead, that will give you the command prompt, :-)

Cyrus Bharda
Title: Re: Telnet into console problem
Post by: Orion on May 30, 2003, 10:35:29 AM
I tried to login as root, but it does not allow me to do so, the error says Login Errors. I can login as Admin though, through Telnet.

The funny thing is, when I go directly to the SME box, I can login as root, but I can't do that thru Telnet.  Is there a configuration setting to be changed?

Thanks so much for helping!
Title: Re: Telnet into console problem
Post by: Cyrus Bharda on May 30, 2003, 10:45:54 AM
Hmmmmmm, well are you sure your not ssh'ing to it, why do you want to telnet?

The Remote Access panel states:

You can also control telnet access to your Mitel Networks server. WARNING: telnet is inherently insecure and should only be used in circumstances where no practical alternative exists. You should leave this option set to no access and use the secure shell if remote access is required.

Also is it turned on the that same panel?

Other than that I am plub outta suggestions sorry :-)

Cyrus Bharda
Title: Re: Telnet into console problem
Post by: Orion on May 30, 2003, 10:54:54 AM
It's the same, whether I am using SSH or Telnet, there is this error that keeps coming up.

I have enable telnet and SSH access in my server-manager console, set to only accepting connection from LAN only, so public cannot sniff the traffic at all.

Thanks so much Cyrus, I know u have tried your best, appreciate your help!
Title: Re: Telnet into console problem
Post by: Steven on May 30, 2003, 11:08:59 AM
Is your "Allow administrative command line access over secure shell" set to yes?
If it is no you will not be able to log in as root.
What version are you using? There must be a reason and a simple fix for this if you can log in as admin.

Steven
Title: Re: Telnet into console problem
Post by: Orion on May 30, 2003, 11:15:09 AM
My SME 5.6's "Allow administrative command line access over secure shell" is set to yes.

I still cannot login as root.

I can login as admin, but there is no way I can get rid of the text-based Server Console once logged in.

HELP!  THANKS!
Title: Re: Telnet into console problem
Post by: Orion on May 30, 2003, 11:29:36 AM
I solved the problem!!

I edited the file /etc/pam.d/login and changed the line
  auth required pam_securetty.so
to
 #auth required pam_securetty.so

Rebooted the SME 5.6 and login using SSH, now I can login as root and able to access to the text consoles.

Thanks so much Cyrus and Steven!
Title: Re: Telnet into console problem
Post by: mike mattos on May 30, 2003, 07:17:28 PM
I'm told it is safer to login as a regular user, and SU, rather that enable remote access for root.  

mike
Title: Re: Telnet into console problem
Post by: Scott Smith on May 30, 2003, 08:16:15 PM
Undo your PAM change.

Here's the "proper" solution:

# /sbin/e-smith/db configuration setprop telnet PermitRootLogin yes

# /sbin/e-smith/signal-event remoteaccess-update