*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pam_chroot (8)              
Title
Content
Arch
Section
 

PAM_CHROOT(8)

Contents


NAME    [Toc]    [Back]

     pam_chroot -- Chroot PAM module

SYNOPSIS    [Toc]    [Back]

     [service-name] module-type control-flag pam_chroot [arguments]

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     pam.conf(5), pam(8)

AUTHORS    [Toc]    [Back]

     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.


FreeBSD 5.2.1                  February 10, 2003                 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ssh-chrootmgr Tru64 Sets up chroot-ready environment for users
ldr_inq_region Tru64 Return module information about a region in a loaded module
pam_self FreeBSD Self PAM module
pam_unix FreeBSD UNIX PAM module
pam_krb5 FreeBSD Kerberos 5 PAM module
pam_guest FreeBSD Guest PAM module
pam_group FreeBSD Group PAM module
pam_get_data FreeBSD get module information
pam_set_data FreeBSD set module information
pam_ftpusers FreeBSD ftpusers PAM module
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service