Koozali.org: home of the SME Server

No Linux Prompt

Jorgen

No Linux Prompt
« on: December 17, 2002, 03:27:40 AM »
Hi
I'm a newbie into Linux and I got a problem I hope someone can help me out.
After trying to learn the differences from the various command shells in Linux I ended up with a chsh change to the e-smith console shell. Now I can't get a Linux prompt when logging on through Putty as root. I get the SME Server interface and typing ALT+F2 have no effect. I think the trick is to change back to the /bin/bash shell, but how to do that when I can't access the Linux Prompt?

Dan Brown

Re: No Linux Prompt
« Reply #1 on: December 17, 2002, 04:57:14 AM »

Jorgen

Re: No Linux Prompt
« Reply #2 on: December 18, 2002, 01:33:34 AM »
Hi Dan,

I have read the manual, but it doesn't seems to help much. Pressing ALT-F2 on the keyboard connected to the server respond with a login prompt. When login as root it returns to the SMS Server Console. Do I really have to reinstall e-smith to get rid of this problem?

Jorgen

Dan Brown

Re: No Linux Prompt
« Reply #3 on: December 18, 2002, 01:49:59 AM »
Ah, oops, is my face red--I missed the part of your post where you said you'd been trying different shells.  Have you allowed shell access to any other user?  If so, log in as that user and do

su -s=/bin/bash

Then once you have the root prompt, chsh root and be on your way.

If not, check posts here for booting in single user mode.

Jorgen

Re: No Linux Prompt
« Reply #4 on: December 18, 2002, 02:45:37 AM »
Hi again Dan,

Thank you very much for a very quick (16 min.) answer and an effective solution. Now I'm up and running again.

Best regards
Jorgen