So, I am having an issue with Virtualmin regarding jailkit. I made a virtual server with a user that is supposed to be able to login to SSH. But the issue is, I don’t want him to have access to all files. Currently the user can cd outside of the home directory and read files, but I want to contain the user to his home directory. I read that there should be an option called “Chroot jail domain Unix user?” somewhere, but I can’t seem to find it. Any help would be appreciated
They said they see no option to jail the user, which means they aren’t talking about a domain owner user, they’re talking about an ssh user created in the Edit Users page for a domain, which, as far as I know, cannot be jailed in the Virtualmin UI (no technical reason there couldn’t be such an option, but I don’t believe there is).
Are you talking about a top-level virtual server or a sub-server? If it’s the latter, there was a bug I just fixed a few days ago that didn’t jail additional users for the sub-server. It is supposed to work for the top-level domain already though.
I tested a dev machine, you can get past /home (for a user, not domain owner)but it limited and I guess its for the limited commnds the user can use correct?
Okay, so: I don’t know what the heck was wrong because I am 100% certain I never touched any Jailkit config before but I tried just re-installing Jailkit and it worked for some reason.
No, here is the thing: JailKit WAS installed. But Virtualmin didn’t pick it up for some reason. The funny thing is, the Webmin part of the program did recognize it.