You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature you'd like see implemented in sudo-rs
See title
What problem can be solved with this feature?
It varies a lot between systems whether or not /etc/pam.d/sudo-i is used or not. This is not directly correlated with the target os, so using #[cfg] is not possible. For example upstream sudo only enables --with-pam-login to use /etc/pam.d/sudo-i on the RedHat family of distros, but Debian also manually enables it for their distro packages: https://salsa.debian.org/sudo-team/sudo/-/blob/master/debian/rules?ref_type=heads#L18
Describe alternatives you've considered
Using #[cfg(target_os = "linux")] to enable it, but this wouldn't work on distros like Alpine that don't use --with-pam-login.
The text was updated successfully, but these errors were encountered:
Describe the feature you'd like see implemented in
sudo-rs
See title
What problem can be solved with this feature?
It varies a lot between systems whether or not
/etc/pam.d/sudo-i
is used or not. This is not directly correlated with the target os, so using#[cfg]
is not possible. For example upstream sudo only enables--with-pam-login
to use/etc/pam.d/sudo-i
on the RedHat family of distros, but Debian also manually enables it for their distro packages: https://salsa.debian.org/sudo-team/sudo/-/blob/master/debian/rules?ref_type=heads#L18Describe alternatives you've considered
Using
#[cfg(target_os = "linux")]
to enable it, but this wouldn't work on distros like Alpine that don't use--with-pam-login
.The text was updated successfully, but these errors were encountered: