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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -