Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Initscripts shouldn't call su/runuser as login shell #287

Closed
bigon opened this issue May 5, 2015 · 2 comments
Closed

Initscripts shouldn't call su/runuser as login shell #287

bigon opened this issue May 5, 2015 · 2 comments
Labels
enhancement New feature or request

Comments

@bigon
Copy link
Contributor

bigon commented May 5, 2015

Hello,

The initscripts are calling su/runuser as login shells.

This should be avoided IMVHO as this is creating a PAM session which can call modules like pam_systemd that would create a logind session. That kind of session should only be created by entrypoint applications (login, ssh, gdm,...) and not by daemons

@bigon
Copy link
Contributor Author

bigon commented May 5, 2015

Well to be complete, su command should be avoided completely in initscripts, as it could create bugs like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717731

@jhoblitt jhoblitt added the enhancement New feature or request label Oct 12, 2015
@jhoblitt
Copy link
Member

@bigon I'm going to close this out as this is really an issue with the upstream jenkins packaging for redhat/debian. The systemd support that was added to this module does not use runuser.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants