Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#58877 - Su command say: Error in service module after update with group configuration
Attached to Project:
Arch Linux
Opened by Martin Strympl (sfence) - Tuesday, 05 June 2018, 14:45 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 07 June 2018, 15:19 GMT
Opened by Martin Strympl (sfence) - Tuesday, 05 June 2018, 14:45 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 07 June 2018, 15:19 GMT
|
DetailsWhen I use "su username" command and enter password, su say "su: Error in service module".
I have recognized that it depend on /etc/pam.d/su configuration file. When I comment line "auth required pam_wheel.so group=_access_su" su starts to work withou error message. I have tried change line to "auth required pam_wheel.so group=host" and su fail with same error. su --version say su from util-linux 2.32 "man pam_wheel.so" say, that group parameter should be still supported with group name... |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 07 June 2018, 15:19 GMT
Reason for closing: Not a bug
Additional comments about closing: Config issue
Thursday, 07 June 2018, 15:19 GMT
Reason for closing: Not a bug
Additional comments about closing: Config issue
From the pam_wheel man page
...
use_uid
The check for wheel membership will be done against the current uid
instead of the original one (useful when jumping with su from one
account to another for example).
...
RETURN VALUES
PAM_SERVICE_ERR
Cannot determine the user name.
This some new feature? Becouse I was running with configuration "auth required pam_wheel.so group=_access_su" longer then one year witou problems.
But when I do pacman -Syu on 04 June 2018, it stops to work...
The relevant code in pam_wheel has not been changed in over ten years.
In attachmet is part of my pacman log... Where is see what pacman upgraded... after this upgrade, su stops to work with configuration file including line "auth required pam_wheel.so group=_access_su".
But problem is solved, that, if you not interested in looking for reasons of unexpected behaviours, this issue can be closed....