]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: 490938, 409852
authorAndrew G. Morgan <morgan@kernel.org>
Wed, 29 May 2002 04:51:07 +0000 (04:51 +0000)
committerAndrew G. Morgan <morgan@kernel.org>
Wed, 29 May 2002 04:51:07 +0000 (04:51 +0000)
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).

CHANGELOG
examples/wrap_xsh.sh [new file with mode: 0755]

index c3c2a406ccc3c88f5666327d7357c27348b98291..18b032b987d12b3b4e27eab2e409789b533cb5af 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -108,9 +108,10 @@ bug report - outstanding bugs are listed here:
   This is entirely inapropriate as it overrides PAM_USER_PROMPT. (Bug
   486361 - agmorgan).
 * added a static module helper library object includes a few changes
-  to examples/xsh.c for testing purposes, and also modified the
-  pam_rhosts_auth module to use this new library. (Bug 490938,
-  409852 - agmorgan)
+  to examples/xsh.c for testing purposes (added a simple shell wrapper
+  for running xsh with the sandbox libraries), and also modified the
+  pam_rhosts_auth module to use this new library. (Bug 490938, 409852
+  - agmorgan).
 * pam_unix: fix 'likeauth' to kill off the memory leak once and for all.
   (Bug 483959 - vorlon)
 * pam_unix: restore handling of 'likeauth' argument to a known working
@@ -160,7 +161,8 @@ bug report - outstanding bugs are listed here:
 * verified that the setcred stack didn't suffer from the bug I was
   nervous about, add a new module pam_debug to help me test this.
   fixed a libpam/pam_dispatch.c instrumentation line that I tripped
-  over when testing. (Bug 424315 - agmorgan)
+  over when testing. Also restructured pam_warn to help here (Bug
+  424315 - agmorgan).
 * pam_unix/support.c: sample use of reentrant NSS function.  Not yet active,
   because modules do not include _pam_aconf_h! (Bug 440107 - vorlon)
 * doc/Makefile changes - use $(mandir) [courtesy Harald Welte] (Bug
diff --git a/examples/wrap_xsh.sh b/examples/wrap_xsh.sh
new file mode 100755 (executable)
index 0000000..af01697
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+export LD_PRELOAD=../libpam/libpam.so:../libpam_misc/libpam_misc.so
+ldd ./xsh
+./xsh "$@"
+