New answers tagged chroot
1
vote
Starting a chroot and drop into nonprivileged user home
How about by calling chroot() and setuid() syscalls via a C program?
A simple C program example:
Pre-requisite for executing this simple C program (feel free to add steps for copying /etc/profile, /...
Top 50 recent answers are included
Related Tags
chroot × 178linux × 105
ubuntu × 27
sftp × 27
ssh × 20
debian × 19
chroot-jail × 17
mount × 13
arch-linux × 11
openssh × 10
bash × 9
unix × 6
security × 5
centos × 5
root × 5
apache-http-server × 4
grub × 4
android × 4
docker × 4
file-permissions × 4
sshd × 4
livecd × 4
debootstrap × 4
macos × 3
boot × 3