Skip to content

Commit 5debfcf

Browse files
committed
allow authenticationg by users with deleted passwords also in sudo
1 parent 86b4f09 commit 5debfcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sudo/pam.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub(super) fn init_pam(
5454
Some(auth_user),
5555
)?;
5656
pam.mark_silent(matches!(launch, LaunchType::Direct));
57-
pam.mark_allow_null_auth_token(false);
57+
pam.mark_allow_null_auth_token(true);
5858
pam.set_requesting_user(requesting_user)?;
5959

6060
match auth_prompt.as_deref() {

0 commit comments

Comments
 (0)