13 lines
290 B
Text
13 lines
290 B
Text
|
Index: common-session.c
|
||
|
--- common-session.c.orig
|
||
|
+++ common-session.c
|
||
|
@@ -627,7 +627,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;
|
||
|
}
|