TCFS 2.0.1 PAM MODULE
This file contains information on theinstallation and configuration of
the PAM module for TCFS.

- Installation:
---------------

1) make sure that the /usr/src/linux/fs/tcfs/contrib/utils tree is 
   present, otherwise rebuild it;

2) move /usr/src/linux/fs/tcfs/contrib/utils/lib/pam_tcfs.so to 
   the pam modules directory (usually /lib/security);

3) modify /etc/pam.conf according to your demands 
   (take a look at the following example);

 
- Configuration:
----------------

Below is a minimal version of the PAM configuration file /etc/pam.conf.
Newer version of PAM split the configuration file into several pieces 
residing in the directory /etc/pam.d (passwd, login, ftp) 
each corresponding to a different section of the file  /etc/pam.conf.


#...

# 
# passwd authorization
#

passwd	auth       required	/lib/security/pam_unix_auth.so	
passwd	account    required	/lib/security/pam_unix_acct.so	
passwd	password   required	/lib/security/pam_unix_passwd.so	
passwd  password   required	/lib/security/pam_tcfs.so

#
# login authorization
#

login	auth       required	/lib/security/pam_securetty.so	
login	auth       required	/lib/security/pam_unix_auth.so	
login	auth       optional     /lib/security/pam_tcfs.so 
login	account    required	/lib/security/pam_unix_acct.so	
login	password   required	/lib/security/pam_unix_passwd.so	
login	session    required	/lib/security/pam_unix_session.so	
login	session    optional	/lib/security/pam_tcfs.so 	

#
# ftp authorization 
#

ftp	auth       required	/lib/security/pam_listfile.so	item=user sense=deny file=/etc/ftpusers onerr=succeed
ftp	auth       required	/lib/security/pam_unix_auth.so	
ftp	auth       optional	/lib/security/pam_tcfs.so	
ftp	auth       required	/lib/security/pam_shells.so	
ftp	account    required	/lib/security/pam_unix_acct.so	
ftp	session    required	/lib/security/pam_unix_session.so	
ftp	session    optional	/lib/security/pam_tcfs.so	

#...


Good work!
