summaryrefslogtreecommitdiff
path: root/examples/wrap_xsh.sh
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2002-05-29 04:51:07 +0000
committerAndrew G. Morgan <morgan@kernel.org>2002-05-29 04:51:07 +0000
commitb1a0e87831c3f580963f53cea34cd4c7047eaeac (patch)
tree4918255e75f465489604f63dadd07ab702cc6c69 /examples/wrap_xsh.sh
parent3468d2d4c1a46692d11f223ccbbb5fee665351ac (diff)
Relevant BUGIDs: 490938, 409852
Purpose of commit: debugging Commit summary: --------------- Added a simple wrapper to make it easier to test xsh with the sandbox libraries (no help with modules - besides editing your personal pam.d/xsh file).
Diffstat (limited to 'examples/wrap_xsh.sh')
-rwxr-xr-xexamples/wrap_xsh.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/wrap_xsh.sh b/examples/wrap_xsh.sh
new file mode 100755
index 00000000..af01697e
--- /dev/null
+++ b/examples/wrap_xsh.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+export LD_PRELOAD=../libpam/libpam.so:../libpam_misc/libpam_misc.so
+ldd ./xsh
+./xsh "$@"
+