Koozali.org: home of the SME Server

ssh

scott

ssh
« on: September 11, 2003, 07:01:06 PM »
Please help, I am a newbie.
I have just installed SME 6.0 on my server and enabled ssh.  I have enabled all ssh options.  I can connect with root or admin without problems.  When I try to connect with a normal user account, I get the following message:

Standard user login services have been disabled.
Terminating connection.
Connection to domainname.net closed.

Why am I getting this message and how can I resolve it?  Thanks.

FYI - I had the same issue on version 5.6.  I had to rebuild the server because I had some issues and after the fresh install I am no longer able to get ssh working for normal user.  THANKS!!!!!!!!!! :)

matt avila

Re: ssh
« Reply #1 on: September 11, 2003, 07:20:25 PM »
Scott,

You need to enable each user account with shell access

Login as root, then change the shell for the user you want to grant ssh access to

The command is chs -s /bin/csh xxxxx where csh is the shell you want = them to use and xxxxx is the user account name

Good luck!

Matt

scott

Re: ssh
« Reply #2 on: September 11, 2003, 08:03:37 PM »
Is there a way to do this through the server-manager?

scott

Re: ssh
« Reply #3 on: September 11, 2003, 08:07:36 PM »
This did not fix the problem.   matt avila wrote:
>
> Scott,
>
> You need to enable each user account with shell access
>
> Login as root, then change the shell for the user you want to
> grant ssh access to
>
> The command is chs -s /bin/csh xxxxx where csh is the shell
> you want = them to use and xxxxx is the user account name
>
> Good luck!
>
> Matt

matt avila

Re: ssh
« Reply #4 on: September 11, 2003, 08:46:44 PM »
Scott,

Sorry.... my bad typing

pick ONE of the following. you can also man chsh to get additional infor on shells

chsh -s /bin/csh xxxxx
chsh -s /bin/bsh xxxxx
chsh -s /bin/bash xxxx
chsh -s /bin/bash2 xxxx

youll have to decide yourself which shell you like best :-)

Matt

scott

Re: ssh
« Reply #5 on: September 11, 2003, 09:08:04 PM »
That took care of it.  Thank you very much!!!!!!!!!!!!!!!!!!!  :)

Kevin Tollison

Re: ssh
« Reply #6 on: September 12, 2003, 06:16:42 AM »
You can install this as well to do it from the server manager

http://dungog.net/sme/files/e-smith-usershellaccess-0.1-2.noarch.rpm

Matt

Re: ssh
« Reply #7 on: September 12, 2003, 08:36:39 PM »
i am new at all this but i had one question where do you install the file so that you can change it on the server manager

if you could get back to me or email me at mattman03@cox.net i would really appricate it thanks again kevin

scott

Re: ssh
« Reply #8 on: September 12, 2003, 10:07:33 PM »
cool, thanks!!!

scott

Re: ssh
« Reply #9 on: September 14, 2003, 08:24:21 AM »
just run the following command while logged in as root.  also, make sure you are in the same directory as the rpm file.
rpm -Uvh e-smith-usershellaccess-0.1-2.noarch.rpm

Marcel

Re: ssh
« Reply #10 on: September 14, 2003, 08:29:07 AM »
This is NOT a problem.  It is a new feature of version 6, and the reason they are doing this is to increase security.  First they disabled telnet completely, then they disabled USER log-ins over ssh.
Hope this helps
marcel

Dan Brown

Re: ssh
« Reply #11 on: September 14, 2003, 08:30:54 AM »
Um, no, Marcel, this isn't something new in 6.0.  Normal users have never had shell access by default in any version back to 3.x, which was the earliest I've used.  Removing telnet is new with 6.0, but disabling shell access is old.

hacktorious

Re: ssh
« Reply #12 on: January 18, 2004, 01:50:19 AM »
Thanks.  This helps a lot.