PAM_USERTYPE - Online Linux Manual PageSection : 8
Updated : 09/03/2021
Source : Linux-PAM
Note : Linux−PAM
NAMEpam_usertype − check if the authenticated user is a system or regular account
SYNOPSISpam_usertype.so [flag...] {condition}
DESCRIPTIONpam_usertype.so is designed to succeed or fail authentication based on type of the account of the authenticated user. The type of the account is decided with help of SYS_UID_MIN and SYS_UID_MAX settings in /etc/login.defs. One use is to select whether to load other modules based on this test. The module should be given only one condition as module argument. Authentication will succeed only if the condition is met.
OPTIONSThe following flags are supported: use_uid Evaluate conditions using the account of the user whose UID the application is running under instead of the user being authenticated. audit Log unknown users to the system log. Available conditions are: issystem Succeed if the user is a system user. isregular Succeed if the user is a regular user.
MODULE TYPES PROVIDEDAll module types (account, auth, password and session) are provided.
RETURN VALUESPAM_SUCCESS The condition was true. PAM_BUF_ERR Memory buffer error. PAM_CONV_ERR The conversation method supplied by the application failed to obtain the username. PAM_INCOMPLETE The conversation method supplied by the application returned PAM_CONV_AGAIN. PAM_AUTH_ERR The condition was false. PAM_SERVICE_ERR A service error occurred or the arguments can't be parsed correctly. PAM_USER_UNKNOWN User was not found.
EXAMPLESSkip remaining modules if the user is a system user: account sufficient pam_usertype.so issystem
SEE ALSOlogin.defs(5), pam(8)
AUTHORPavel Březina <pbrezina@redhat.com> 0
Johanes Gumabo
Data Size : 10,502 byte
man-pam_usertype.8Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 258,155
Visitor ID : :
Visitor IP : 3.145.174.57 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.