mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
13 lines
302 B
Plaintext
13 lines
302 B
Plaintext
Index: src/common-session.c
|
|
--- src/common-session.c.orig
|
|
+++ src/common-session.c
|
|
@@ -663,7 +663,7 @@ void fill_passwd(const char* username) {
|
|
if (ses.authstate.pw_passwd)
|
|
m_free(ses.authstate.pw_passwd);
|
|
|
|
- pw = getpwnam(username);
|
|
+ pw = getpwnam_shadow(username);
|
|
if (!pw) {
|
|
return;
|
|
}
|