[BACK]Return to session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/session.c between version 1.259 and 1.260

version 1.259, 2011/10/24 02:13:13 version 1.260, 2012/03/15 03:10:27
Line 1108 
Line 1108 
         char buf[1024], *nl, *def_nl = _PATH_NOLOGIN;          char buf[1024], *nl, *def_nl = _PATH_NOLOGIN;
         struct stat sb;          struct stat sb;
   
         if (login_getcapbool(lc, "ignorenologin", 0) && pw->pw_uid)          if (login_getcapbool(lc, "ignorenologin", 0) || pw->pw_uid == 0)
                 return;                  return;
         nl = login_getcapstr(lc, "nologin", def_nl, def_nl);          nl = login_getcapstr(lc, "nologin", def_nl, def_nl);
   

Legend:
Removed from v.1.259  
changed lines
  Added in v.1.260