pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/mksandbox/files Document the chroot command a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a6b0a4a2812
branches:  trunk
changeset: 311729:7a6b0a4a2812
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Thu Aug 16 15:40:50 2018 +0000

description:
Document the chroot command and differentiate what happens when the sandbox
script is invoked with any command specified.

diffstat:

 pkgtools/mksandbox/files/mksandbox.8 |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 480f2db39245 -r 7a6b0a4a2812 pkgtools/mksandbox/files/mksandbox.8
--- a/pkgtools/mksandbox/files/mksandbox.8      Thu Aug 16 14:05:05 2018 +0000
+++ b/pkgtools/mksandbox/files/mksandbox.8      Thu Aug 16 15:40:50 2018 +0000
@@ -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@localhost>
 .\" 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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index