LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No shell access - permissions (https://www.linuxquestions.org/questions/linux-newbie-8/no-shell-access-permissions-771497/)

kopper27 11-25-2009 11:50 AM

No shell access - permissions
 
Hi

I need to configure an account without shell access but user needs to have FTPS - SCP - FTP access so I've done this

Code:

useradd -s /sbin/nologin useraccount
passwd useraccount

cool no shell access but user cannot access FTPS - SCP - FTP...what else I need to configure to allow user to use those others?


thanks a lot

kopper27 11-25-2009 12:26 PM

I was wrong about FTP
http://www.cyberciti.biz/tips/linux-...to-system.html


but what about SCP?

Chirel 11-25-2009 02:46 PM

Hi, you need a valid login shell to use SCP / SFTP.

To restrict user to scp and sftp take a look to scponly this may help you i think.


All times are GMT -5. The time now is 02:26 AM.