]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the current user's login class for the decisions about where
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Thu, 14 Jun 2007 13:07:06 +0000 (13:07 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Thu, 14 Jun 2007 13:07:06 +0000 (13:07 +0000)
commit58d6bdcbe0af72d6cdf9c21f917bec3daae906a4
treef6e83255b0c269e2512e46d68ad7d2332928ac80
parent9b33b1ab380d4d014727175e3f3ac0267aa6fcec
Use the current user's login class for the decisions about where
the nologin(5) file is located and whether the user may bypass its
restriction.

Add some error checks.

Approved by: des
PR: bin/107612
lib/libpam/modules/pam_nologin/pam_nologin.8
lib/libpam/modules/pam_nologin/pam_nologin.c