From 0858532ea93e0890bf13556f4ef3dc25d7636233 Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 27 Feb 2009 22:09:45 +0000 Subject: chroot and change user support (Nolan) Resent with fixed formatting. This patch adds two new command line options: -chroot -runas This is useful for running qemu as an unprivileged user in a chroot jail. To avoid having to populate the jail, chrooting happens right before the start of guest execution. Signed-off-by: Nolan Leake Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6652 c046a42c-6fe2-441c-8c8c-71466251a162 --- qemu-doc.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qemu-doc.texi') diff --git a/qemu-doc.texi b/qemu-doc.texi index 39a3a76ca4..616de48c0c 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -1161,6 +1161,14 @@ character to Control-t. @item -echr 20 @end table +@item -chroot dir +Immediately before starting guest execution, chroot to the specified +directory. Especially useful in combination with -runas. + +@item -runas user +Immediately before starting guest execution, drop root privileges, switching +to the specified user. + @end table @c man end -- cgit v1.2.1