Displaying 1 result from an estimated 1 matches for "s_rloginchk".
2007 Feb 13
0
[Bug 1284] allow sftp when rlogin=false
...- openssh-4.3p2/openbsd-compat/port-aix.c Sat May 28 19:54:28
2005
+++ 52/openbsd-compat/port-aix.c Sun May 14 05:19:43 2006
@@ -231,231 +231,234 @@
debug3("%s: not checking", __func__);
return 1;
}
+ if (getuserattr(pw->pw_name, S_RLOGINCHK, &rlogin, SEC_BOOL) ==
-1)
+ rlogin=1;
- result = loginrestrictions(pw->pw_name, S_RLOGIN, NULL, &msg);
+ result = loginrestrictions(pw->pw_name, 0, NULL, &msg);
if (result == 0)
permitted = 1;
/*
--- openssh-4.3p2/session...