[Klug-general] Apache, PHP and MySQL security (Fairly long post!)
Keith Edmunds
keith at midnighthax.com
Sat Jan 6 13:11:21 GMT 2007
On Sat, 06 Jan 2007 08:38:50 +0000
Matthew Macdonald-Wallace <matthew at truthisfreedom.org.uk> wrote:
> chrootuid /chroot/mysql \
> mysql /chroot/mysql/usr/local/mysql/libexec/mysqld &
>
> I get the following in /var/log/syslog:
>
> /chroot/mysql/usr/local/mysql/libexec/mysqld: No such file or
> directory
I don't know, but I suspect the problem is that chrootuid will set up
the chroot before executing the command, so the full line should be:
chrootuid /chroot/mysql \
mysql /usr/local/mysql/libexec/mysqld &
Keith
--
Keith Edmunds
+---------------------------------------------------------------------+
| Tiger Computing Ltd | Helping businesses make the most of Linux |
| "The Linux Company" | http://www.tiger-computing.co.uk |
+---------------------------------------------------------------------+
More information about the Kent
mailing list