Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PAM_JAIL(8)		     System Manager's Manual		     PAM_JAIL(8)

NAME
     pam_jail -- Jail PAM module

SYNOPSIS
     [service-name] module-type control-flag pam_jail [arguments]

DESCRIPTION
     The  jail	service  module for PAM put users into a jail 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 user is
     put into the jail having the portion of the directory name to the	left  of
     the string "/./" as its root, and the portion to the right will be the cur-
     rent  working directory inside the jail.  Otherwise, the directories speci-
     fied by the dir and cwd options (see below) are used.

     also_root	Do not hold user ID 0 exempt from the jail requirement.

     always	Report a failure if a root 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
		jail_attach(2) call.

     dir=directory
		Specify the root directory of the jail to use if one  could  not
		be derived from the user's home directory.

SEE ALSO
     pam.conf(5), pam(8)

AUTHORS
     The  pam_jail  module  and  this manual page were developed for the FreeBSD
     Project by Damien Bobillot

FreeBSD ports 15.quarterly    September 29th, 2013		     PAM_JAIL(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pam_jail&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help