mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 12:36:18 +00:00
47c07c60ba
* Latest 4.3 changes poorly merged * Build fixes * Squash? * Fix ppsspp on switch * Fix video recording, add base stuff for nvv4l2 decoder/encoder, but leave disabled for now * Clean up left over files * Switch: Dont build xpadneo driver, but install configs * FFMpeg: Add back L4T decoder Patches
13 lines
450 B
Diff
13 lines
450 B
Diff
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
|
|
index 6c643d3..df8859d 100644
|
|
--- a/loginutils/passwd.c
|
|
+++ b/loginutils/passwd.c
|
|
@@ -69,7 +69,6 @@ static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo
|
|
goto err_ret;
|
|
if (ENABLE_FEATURE_PASSWD_WEAK_CHECK
|
|
&& obscure(orig, newp, pw) /* NB: passing NULL orig is ok */
|
|
- && myuid != 0
|
|
) {
|
|
goto err_ret; /* non-root is not allowed to have weak passwd */
|
|
}
|