[Bug 1081323] Re: /bin/sh illegal option -p when using pam_namespace.so

Bug Watch Updater 1081323 at bugs.launchpad.net
Wed Nov 21 10:18:26 UTC 2012


** Changed in: pam (Debian)
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1081323

Title:
  /bin/sh illegal option -p when using pam_namespace.so

Status in “pam” package in Ubuntu:
  Triaged
Status in “pam” package in Debian:
  New

Bug description:
  When PAM is configured to use pam_namespace.so, something, presumably
  PAM, emits the line "/bin/sh: 0: Illegal option -p" once for every
  entry defined in /etc/security/namespace.conf.  Switching /bin/sh from
  dash to bash using dpkg-reconfigure dash avoids the problem.

  I have seen this problem when authenticating with login, sudo, and su,
  but not with ssh (sshd is configured with UsePAM yes).

  Is it possible that pam_namespace.so is making the assumption that
  /bin/sh is implemented by bash?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1081323/+subscriptions




More information about the foundations-bugs mailing list