[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

pam_namspace / namespace.conf to give user own private /tmp

namespaces.conf looks really interesting. We can give users their own view of certain directories. e.g. we can add

/tmp     /tmp-inst/       	level      root,adm

Which would show all users (except root and adm) only their own private /tmp which is really a copy of /tmp-inst/ that is mounted over /tmp for that user.

https://linux.die.net/man/5/namespace.conf

https://linux.die.net/man/8/pam_namespace

I can’t seem to enable the pam_namespace module to use this though.

1 Like

Sounds great! Maybe then we won’t need pam-tmpdir (which has some issues during testing and needs bug reporting).

2 Likes

This doesn’t have to be just a private /tmp. We can do tons of other things like give them their own private view of /home or /var/tmp.

1 Like

I tried this and failed. Enabled pam_namespace with debug in pam. Shows debug output. No errors. But also no private /tmp. Still shared among all users.

1 Like
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]