diff options
author | sevan <sevan@pkgsrc.org> | 2018-08-16 15:40:50 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2018-08-16 15:40:50 +0000 |
commit | 88f5b7c4899a329b91dc2ff055cf07f7f7277cfa (patch) | |
tree | 787ec59ce75c0d5b342d1ba63045ad1807cb9551 /pkgtools/mksandbox | |
parent | e1395bb11fd337f0fcc46292794780cdaae3d397 (diff) | |
download | pkgsrc-88f5b7c4899a329b91dc2ff055cf07f7f7277cfa.tar.gz |
Document the chroot command and differentiate what happens when the sandbox
script is invoked with any command specified.
Diffstat (limited to 'pkgtools/mksandbox')
-rw-r--r-- | pkgtools/mksandbox/files/mksandbox.8 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgtools/mksandbox/files/mksandbox.8 b/pkgtools/mksandbox/files/mksandbox.8 index 32d53a2b6a0..c9b3e2c9ff5 100644 --- a/pkgtools/mksandbox/files/mksandbox.8 +++ b/pkgtools/mksandbox/files/mksandbox.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: mksandbox.8,v 1.6 2018/04/12 02:11:24 simonb Exp $ +.\" $NetBSD: mksandbox.8,v 1.7 2018/08/16 15:40:50 sevan Exp $ .\" .\" Copyright (c) 2012 Thomas Klausner <wiz@NetBSD.org> .\" All rights reserved. @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 29, 2013 +.Dd August 16, 2018 .Dt MKSANDBOX 8 .Os .Sh NAME @@ -105,6 +105,11 @@ The .Pa sandbox script supports the following commands: .Bl -tag -width XXnoXargumentXXXX +.It Ic chroot +Start +.Xr ksh 1 +inside the sandbox and load +.Pa /etc/shrc . .It Ic mount Set up the sandbox. .It Ic umount @@ -112,7 +117,8 @@ Tear down the sandbox. .It (no argument) Start .Xr ksh 1 -inside the sandbox. +inside the sandbox without loading +.Pa /etc/shrc . Can only be called after .Ic mount . .It Ic command |