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
Post a Comment