]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the current user's login class for the decisions about where
authoryar <yar@FreeBSD.org>
Thu, 14 Jun 2007 13:07:06 +0000 (13:07 +0000)
committeryar <yar@FreeBSD.org>
Thu, 14 Jun 2007 13:07:06 +0000 (13:07 +0000)
commit25b7a16e23d0a9e488fddf3d4bfe804f3e06ab93
treef6e83255b0c269e2512e46d68ad7d2332928ac80
parentb325dde99be727bd2862bde1914e4c08f915434d
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