-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
util-linux su requires PAM #464
Comments
Right now, util-linux su requires PAM -- shadow's doesn't. Bug: shadow-maint/shadow#464 Closes: https://bugs.gentoo.org/622666 Signed-off-by: Sam James <sam@gentoo.org>
Thanks for pointing that out. That may be a good enough reason to keep it. |
FWIW, I'd be a bit stuffed without su from shadow for the same reason: I maintain a distro which doesn't use PAM, so the util-linux su refuses to build. |
Thanks for the input @arachsys . |
I'm not sure where to best announce this - but we won't drop su unless and until there is an alternative. My goal is to minimize community effort spent on redundant complex software, but I feel shadow has a responsibility to non-standard distros here. I will however encourage those who can to switch to util-linux's su. Most already had. |
Thanks, this is very much appreciated. As far as I know, shadow's implementation really is the only chfn/chsh/login/su option for people who (for example) have a statically-linked variant build of their distro which can't dlopen pam modules. Are there any outstanding problems or design concerns with the current shadow su that you'd like someone to step up and fix? I'm happy to work on these if so. |
I reckon mention it in the next release notes like for the initial deprecation notice. Thank you for your careful/responsible position here.
We've now switched Gentoo by default, FWIW, but will be keeping shadow's |
Any updates to this? Has Also should distributions be switching to use the |
Hi,
It looks like util-linux's implementation of
su
requires PAM. This doesn't personally bother me but in Gentoo, at present, we allow building systems without PAM. shadow'ssu
, however, does support standalone usage.I wonder if it'd be possible to keep shadow's
su
on life-support (but deprecated) for those who don't want to/can't use PAM?The text was updated successfully, but these errors were encountered: