From b300254ee1f308c440d8e8d8129fb863b6ec9599 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Dec 2012 16:05:36 +0330 Subject: Making the legacy more useful Added a brief installation guide in README along with etc config file samples. Added a couple of useful start and kill scripts in utils folder. Added two sample problems (one normal one interactive) along with testers in utils folder. --- etc/pam.d/jail | 2 ++ etc/pam.d/su | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 etc/pam.d/jail create mode 100644 etc/pam.d/su (limited to 'etc/pam.d') diff --git a/etc/pam.d/jail b/etc/pam.d/jail new file mode 100644 index 0000000..a3563bc --- /dev/null +++ b/etc/pam.d/jail @@ -0,0 +1,2 @@ +#%PAM-1.0 +session required pam_chroot.so diff --git a/etc/pam.d/su b/etc/pam.d/su new file mode 100644 index 0000000..b5d6504 --- /dev/null +++ b/etc/pam.d/su @@ -0,0 +1,15 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +# Uncomment the following line to implicitly trust users in the "wheel" group. +#auth sufficient pam_wheel.so trust use_uid +# Uncomment the following line to require a user to be in the "wheel" group. +#auth required pam_wheel.so use_uid +auth include system-auth +auth include postlogin +account sufficient pam_succeed_if.so uid = 0 use_uid quiet +account include system-auth +password include system-auth +session include system-auth +session include postlogin +session optional pam_xauth.so +session include jail -- cgit