Koozali.org: home of the SME Server

Accessing via ssh

Jarl Groneng

Accessing via ssh
« on: October 23, 2001, 01:00:00 AM »
Hi,

I have just set up e-smith stand alone server. Remote access are set to:
Secure shell (ssh) access: Public
Allow administrative command line access over ssh: No
Allow ssh access using standard passwords: Yes

When I try to access vi assh I got this message: (lgin as non root)

*** message start ***
------------------------------------------------------------
e-smith server and gateway
------------------------------------------------------------


Standard user login services have been disabled.

You may access e-smith server and gateway services such as POP
and SMTP using virtual private networking or port forwarding.


Type "end" and press ENTER to terminate this connection: end

Terminating connection.

*** message end ***

If I set up remote access to allow Allow administrative command line access over ssh, then I can log in as root, but not as a non root user.

Anything that I misses?

Thanks,
Jarl

Christian Frabel

Re: Accessing via ssh
« Reply #1 on: October 23, 2001, 02:02:25 AM »
Users have NO shell in e-smith. Thats the reason why you get this message.
You have first to login as root and edit (using pico) the /etc/passwd file in order to change the last field of the line describing user you want they login using a shell account. This fiels has to be bash.
Hope its helps

Dan Brown

Re: Accessing via ssh
« Reply #2 on: October 23, 2001, 02:14:45 AM »
No, you DO NOT want to hand-edit /etc/passwd.  Use chsh instead.

Jarl Groneng

Re: Accessing via ssh
« Reply #3 on: October 23, 2001, 10:33:08 AM »
Ahh... Now I got it.

Thanks for the help...