[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pam-list
Subject:    Changed pam_script to handle chroot, unshare and mount.
From:       Stef Bon <stefbon () gmail ! com>
Date:       2011-10-16 19:53:38
Message-ID: CANXojcyaA05ag+U88T3PFgz5YNs=7SUXdqRyPJpj0p5cmixkRQ () mail ! gmail ! com
[Download RAW message or body]

Hi,

I've rewritten an existing pam module pam_script. What it does:

. runs a script
. unshare the mount namespace (if configured, default yes)

if the directory to chroot to is specfied it does also:

. mount all the required directories like bin, lib, usr etcetera.
. chroot to this directory

See:

git clone git://gitorious.org/pam_script/pam_script.git pam_script
cd pam_script


Please some comments.

Stef

_______________________________________________
Pam-list mailing list
Pam-list@redhat.com
https://www.redhat.com/mailman/listinfo/pam-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic