Questions tagged [chroot]

A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children.

413 questions
0
votes
2 answers

Chroot within chroot

I'm using Centos 5.2 and when I try to make a chroot jail using the script, I get: Copying libraries for /usr/bin/scp. (0x00007fff17bfe000) cp: cannot stat `(0x00007fff17bfe000)': No such file or directory ... I am currently using on a rackspace…
Andy
0
votes
0 answers

Setting up account to upload to a website subdirectory

I need to setup a stfp account on Ubuntu 18.04 that meets the following requirement: Can upload to subfolder of website i.e. example.com/subfolder/ Uploaded files belong to www-data group so are visible to nginx User cannot see outside of the given…
Guerrilla
  • 243
  • 7
  • 18
-1
votes
1 answer

Linux , restrict users/processes to one folder, chroot in docker container?

I'm looking for a way to run multiple python/php apps on one server. Each app in it's own /bob_app folder. I need for users not to be able to run sth like: >>> import glob >>> glob.glob("/*") ['/boot', '/cdrom', '/dev', '/lib64', '/run',…
Jonathan
  • 276
  • 3
  • 13
-1
votes
1 answer

Chroot Jailing groups via sshd_config for FTP results in connection aborted for all members in that group

I am attempting to chroot jail using the /etc/ssh/sshd_config file. My FTP server is vsfptd, and while I know how to chroot jail using vsftpd's config, I want to try it using sshd_config. However, modifying the sshd_config file as I am is preventing…
Matthew Moisen
  • 341
  • 2
  • 5
  • 12
-1
votes
1 answer

I can't create chroot user with full permissions

I am trying to create chroot user but i want to give him a permissions to create and delete files and directories. I have Ubuntu server installed on virtualbox and i am connecting to it from my host machine Windows 7 using WinSCP. And i am also…
user1800997
  • 235
  • 1
  • 2
  • 5
-1
votes
2 answers

SSH stopped working for no reason

Please help. Everything was working fine. How can I connect to the command line now? Configuration Amazon EC2 server Ubuntu & Apache2 Only one user (root - not real name) has SSH access, publickey only All other users allowed SFTP access, chrooted…
csi
  • 1,555
  • 7
  • 23
  • 42
-2
votes
1 answer

process user differently using ssh key

I wonder if it is possible to chroot/chdir/process the same unix user differently using the ssh key used in the ssh connexion... The use case could be a rsync server using only one linux/local user for many virtual account. It's somewhat how…
quazardous
  • 107
  • 4
-5
votes
1 answer

Process still running from a deleted chroot?

so I come to you with a somewhat interesting problem. I had a chroot running that had an entire lamp server installed and running on it. I tried to purge and remove the lamp server but messed up somewhere so I figured if I just go back and remove…
1 2 3
27
28