Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: ki11er on July 19, 2005, 02:09:48 AM

Title: Allowing per-user SSH / SFTP access
Post by: ki11er on July 19, 2005, 02:09:48 AM
I have noticed that when using SSH, only root and admin users are allowed to login using SSH.

How do I change this so that any user can login using SSH, but is restricted to their home folders and iBays where they have read/write permissions?

Thanks
Title: Re: Allowing per-user SSH / SFTP access
Post by: mente on October 11, 2006, 01:12:24 PM
By default, only two user names can be used to login remotely to the server: admin (to access the server console) and root (to use the Linux shell). Regular users are not permitted to login to the server itself.

http://mirror.contribs.org/smeserver/contribs//bobk/SME_Manual/chpt-11.1.html

You need to manually change the user's shell in /etc/passwd.
Set user to ...:/bin/bash
Title: Re: Allowing per-user SSH / SFTP access
Post by: raem on October 11, 2006, 03:57:03 PM
ki11er

There is a free contrib at dungog.net site that adds a server manager panel & will make this configuration easier for you.