login_getclass() -> login_getpwclass().
This commit is contained in:
parent
2c0354b819
commit
9c41c4452d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6441
@ -55,7 +55,7 @@
|
||||
&from);
|
||||
|
||||
+ #ifdef HAVE_LOGIN_CAP_H
|
||||
+ lc = login_getclass(pw);
|
||||
+ lc = login_getclass(pw->pw_class);
|
||||
+ #endif
|
||||
+
|
||||
/* Check if .hushlogin exists. Note that we cannot use userfile
|
||||
@ -165,7 +165,7 @@
|
||||
! login_cap_t *lc;
|
||||
! char *real_shell;
|
||||
!
|
||||
! lc = login_getclass(pw);
|
||||
! lc = login_getclass(pw->pw_class);
|
||||
! auth_checknologin(lc);
|
||||
! #else /* !HAVE_LOGIN_CAP_H */
|
||||
/* Check /etc/nologin. */
|
||||
|
@ -55,7 +55,7 @@
|
||||
&from);
|
||||
|
||||
+ #ifdef HAVE_LOGIN_CAP_H
|
||||
+ lc = login_getclass(pw);
|
||||
+ lc = login_getclass(pw->pw_class);
|
||||
+ #endif
|
||||
+
|
||||
/* Check if .hushlogin exists. Note that we cannot use userfile
|
||||
@ -165,7 +165,7 @@
|
||||
! login_cap_t *lc;
|
||||
! char *real_shell;
|
||||
!
|
||||
! lc = login_getclass(pw);
|
||||
! lc = login_getclass(pw->pw_class);
|
||||
! auth_checknologin(lc);
|
||||
! #else /* !HAVE_LOGIN_CAP_H */
|
||||
/* Check /etc/nologin. */
|
||||
|
Loading…
Reference in New Issue
Block a user