[Bug 1081323] [NEW] /bin/sh illegal option -p when using pam_namespace.so
Scott Duckworth
1081323 at bugs.launchpad.net
Tue Nov 20 21:46:01 UTC 2012
Public bug reported:
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?
** Affects: pam (Ubuntu)
Importance: Undecided
Status: 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:
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