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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -