Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_oddjob_mkhomedir(8) [centos man page]

pam_oddjob_mkhomedir(8) 				      System Manager's Manual					   pam_oddjob_mkhomedir(8)

NAME
pam_oddjob_mkhomedir.so - PAM module to create users home directory via oddjob SYNOPSIS
session optional /lib/security/pam_oddjob_mkhomedir.so DESCRIPTION
The pam_oddjob_mkhomedir.so module checks if the user's home directory exists, and if it does not, it invokes the mkhomedirfor method of the com.redhat.oddjob_mkhomedir service for the PAM_USER if the module is running with superuser privileges. Otherwise, it invokes the mkmyhomedir method. The location of the skeleton directory and the default umask are determined by the configuration for the corresponding service in oddjobd- mkhomedir.conf, so they can not be specified as arguments to this module. If D-Bus has not been configured to allow the calling application to invoke these methods provided as part of the com.redhat.oddjob_mkhome- dir interface of the / object provided by the com.redhat.oddjob_mkhomedir service, then oddjobd will not receive the request and an error will be returned by D-Bus. If oddjobd has not been configured to provide these methods, or the user is not authorized to use them, then oddjobd will ignore the mod- ule's requests. SEE ALSO
oddjob_request(1) oddjob.conf(5) oddjobd.conf(5) oddjobd(8) oddjob Manual 29 May 2008 pam_oddjob_mkhomedir(8)

Check Out this Related Man Page

PAM_CHROOT(8)						    BSD System Manager's Manual 					     PAM_CHROOT(8)

NAME
pam_chroot -- Chroot PAM module SYNOPSIS
[service-name] module-type control-flag pam_chroot [arguments] DESCRIPTION
The chroot service module for PAM chroots users into either a predetermined directory or one derived from their home directory. If a user's home directory as specified in the passwd structure returned by getpwnam(3) contains the string ``/./'', the portion of the directory name to the left of that string is used as the chroot directory, and the portion to the right will be the current working directory inside the chroot tree. Otherwise, the directories specified by the dir and cwd options (see below) are used. also_root Do not hold user ID 0 exempt from the chroot requirement. always Report a failure if a chroot directory could not be derived from the user's home directory, and the dir option was not specified. cwd=directory Specify the directory to chdir(2) into after a successful chroot(2) call. dir=directory Specify the chroot directory to use if one could not be derived from the user's home directory. SEE ALSO
pam.conf(5), pam(8) AUTHORS
The pam_chroot module and this manual page were developed for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
February 10, 2003 BSD
Man Page