Tag Info

New answers tagged

3

As Kassandry said, you can't do this with a command within the jail itself. What you could do, however, would be to create a separate user (who I will henceforth call closer on the host system. This user should be blocked so that it can only log in with an SSH key. Your jailed user should have the private key and the password for the key. On the host ...


3

Jails specifically forbid the shutdown commands, per the manual page here. Normal machine shutdown commands, such as halt(8), reboot(8), and shutdown(8), cannot be used successfully within the jail. Additionally quoting from The Design and Implementation of the FreeBSD Operating System, Processes running within a jail are not permitted to perform ...


0

I got it, I had to create a MySQL user to be able to connect mysql> use mysql; mysql> CREATE USER 'web'@'10.6.6.6' IDENTIFIED BY 'password'; mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER ON *.* TO 'web'@'10.6.6.6'; mysql> FLUSH PRIVILEGES; then from the web jail: # ezjail-admin console www root@www:~ # vi ...



Top 50 recent answers are included