diff options
author | root <root@localhost> | 2012-12-30 16:05:36 +0330 |
---|---|---|
committer | Mahrud Sayrafi <mahrud@eve> | 2012-12-30 05:33:01 -0800 |
commit | b300254ee1f308c440d8e8d8129fb863b6ec9599 (patch) | |
tree | 13b4c0871e5ed92b517c002ab815da7f0fe5fbcc /etc/pam.d | |
parent | 9cb5ecf6956115140521d74cea8b4191634842fd (diff) | |
download | hellijudge-legacy.git-b300254ee1f308c440d8e8d8129fb863b6ec9599.tar.gz hellijudge-legacy.git-b300254ee1f308c440d8e8d8129fb863b6ec9599.tar.xz hellijudge-legacy.git-b300254ee1f308c440d8e8d8129fb863b6ec9599.zip |
Making the legacy more usefulv0.9
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.
Diffstat (limited to 'etc/pam.d')
-rw-r--r-- | etc/pam.d/jail | 2 | ||||
-rw-r--r-- | etc/pam.d/su | 15 |
2 files changed, 17 insertions, 0 deletions
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 |