Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: scott on September 11, 2003, 07:01:06 PM

Title: ssh
Post by: scott 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!!!!!!!!!! :)
Title: Re: ssh
Post by: matt avila 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
Title: Re: ssh
Post by: scott on September 11, 2003, 08:03:37 PM
Is there a way to do this through the server-manager?
Title: Re: ssh
Post by: scott 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
Title: Re: ssh
Post by: matt avila 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
Title: Re: ssh
Post by: scott on September 11, 2003, 09:08:04 PM
That took care of it.  Thank you very much!!!!!!!!!!!!!!!!!!!  :)
Title: Re: ssh
Post by: Kevin Tollison 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
Title: Re: ssh
Post by: Matt 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
Title: Re: ssh
Post by: scott on September 12, 2003, 10:07:33 PM
cool, thanks!!!
Title: Re: ssh
Post by: scott 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
Title: Re: ssh
Post by: Marcel 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
Title: Re: ssh
Post by: Dan Brown 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.
Title: Re: ssh
Post by: hacktorious on January 18, 2004, 01:50:19 AM
Thanks.  This helps a lot.