Koozali.org: home of the SME Server

Allowing per-user SSH / SFTP access

ki11er

Allowing per-user SSH / SFTP access
« 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

mente

Re: Allowing per-user SSH / SFTP access
« Reply #1 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

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Allowing per-user SSH / SFTP access
« Reply #2 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.
...