Operating system: Debian
OS version: 10 Buster
I am trying to restrict user to their home directories on SFTP and Webmin File Manager.
For this I went to Virtualmin → Administration Options → Edit Owner Limits → Other Restrictions → Chroot Jail Domain Unix User → Yes (from No) → SAVE
But this is failing with this error :
Failed to save owner limits : Failed to enable chroot jail : Failed to initialize jail : ERROR: cannot lstat() /home/chroot/16038981462622 Traceback (most recent call last): File "/sbin/jk_init", line 247, in main() File "/sbin/jk_init", line 244, in main activateConfig(config, jail, args) File "/sbin/jk_init", line 153, in activateConfig cfg.read([config['file']]) File "/usr/lib/python2.7/ConfigParser.py", line 305, in read self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read raise e ConfigParser.ParsingError: File contains parsing errors: /etc/jailkit/jk_init.ini [line 117]: 'netbasics\n' [line 118]: 'netbasics, uidbasics\n' [line 119]: 'EOT\n'
Can you kindly help me with this issue?
Sorry for my bad English, I am French.
Thanks for your help