Skip to content
FELIPE FERREIRA

FELIPE FERREIRA

System Administrator

  • Home
    • ME
    • Hobby
      • Motogp
  • Linux
    • Amazon-AWS
    • bash
    • LinuxCommands
    • Varnish
    • Centos
    • BashScripts
    • tomcat
  • Exchange
  • ESX
  • Varnish
  • Security
  • Centreon

Tag: chroot

By : Felipe Ferreira21/02/201823/05/2019
bash, BashScripts, HowTo, Linux Leave a Comment on chroot mount bind

chroot mount bind


mkdir -v -p /sftp/root/${USER}/home
chown root.root /sftp/root/${USER}
mount –bind //${DIR} /sftp/root/${USER}/home
useradd -g tomcat -s /sbin/nologin ${USER}

sshd_config

Match Group tomcat
AllowTcpForwarding no
ForceCommand internal-sftp -u 0002 -d home
…

View the post
Tags: bind, chroot, Linux, mount, script

Recent Posts

  • AWS Solution Architect Study Guide
  • check_vmware_esx slow
  • Linux End of Life table

Categories

SEARCH

https://www.buymeacoffee.com/felipeferreira
All Right Reserve. Theme: Franchise by Moral Themes.