tomcat - linux new user with sftp to specific folder -


hi have ssh connection server wit root account. want create user named pizza4yu , give access winscp location /home/pi/apache-tomcat-7.0.35 how can ?

chsh -s /bin/bash pizza4yu usermod -d /home/pi/apache-tomcat pizza4yu chown -r pizza4yu:pizza4yu /home/pi/apache-tomcat 

you can use chroot: http://chrootssh.sourceforge.net/


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

c# - Abstract method in public abstract class implementing an internal interface doesn't compile? -

authentication - Mongodb revoke acccess to connect test database -