from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209612

userrating:


May 25th. 2007:
Words

486

Views

258612

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149912

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





PAM_CANONICALIZE_USE

Section: Linux-PAM Manual (8)
Updated: 02/02/2026
Index Return to Main Contents
 

NAME

pam_canonicalize_user - Get user name and canonicalize it  

SYNOPSIS

pam_canonicalize_user.so
 

DESCRIPTION

This PAM module uses the name of the user obtained via pam_get_user(3) as a key to query the password database, and replaces PAM_USER with the pw_name value that has been returned.  

OPTIONS

This module does not recognise any options.  

MODULE TYPES PROVIDED

Only the auth module type is provided.  

RETURN VALUES

PAM_IGNORE

The user name was set successfully.

PAM_USER_UNKNOWN

The user was not found.

PAM_SYSTEM_ERR

The application did not supply neither a user name nor a conversation method.

PAM_INCOMPLETE

The conversation method supplied by the application is waiting for an event.

PAM_CONV_ERR

The conversation method supplied by the application failed to obtain the user name.

PAM_ABORT

Error resuming an old conversation.

PAM_BUF_ERR

Memory buffer error.
 

EXAMPLES

Prepend the PAM auth stack with the following line to canonicalize the user name before the authentication:

        auth required pam_canonicalize_user.so
      

 

SEE ALSO

pam_get_user(3), pam_get_item(3), pam_set_item(3), getpwnam(3), pam.conf(5), pam.d(5), pam(8)  

AUTHOR

pam_canonicalize_user was written by Dmitry V. Levin <ldv@strace.io>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
MODULE TYPES PROVIDED
RETURN VALUES
EXAMPLES
SEE ALSO
AUTHOR





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 19.7 ms