/bin/sh illegal option -p when using pam_namespace.so
Bug #1081323 reported by
Scott Duckworth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Debian) |
Fix Released
|
Unknown
|
|||
pam (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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/
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?
Changed in pam (Debian): | |
status: | Unknown → New |
Changed in pam (Debian): | |
status: | New → Confirmed |
Changed in pam (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This comes from the /etc/security/ namespace. init file. Feel free to edit the file to be correct, changes will be preserved on upgrade. If you get this working to your satisfaction, patches will be welcome.