lkml.org 
[lkml]   [2001]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectMaximum mountpoints + chrooted login
Date
I was thinking of doing a chrooted login for some ssh accounts.
The plan is this:

put stuff in
/home/u_dev
/home/u_etc
/home/u_bin

Then at login time mount them to
/home/user/dev
/home/user/etc
/home/user/bin
as readonly

chroot to /home/user

...

And then unmount them at logout time.

Does this seem like a bad idea?
(then please tell me why :))

One problem could be the _massive_ mounts, 3*online_users.
Are there any limits/drawbacks doing it like this?
Should i hardlink stuff instead? (worse maintainability).

Just a funny idea i have...
Hit me.

Magnus

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Programmer/Networker [|] Magnus Naeslund
PGP Key: http://www.genline.nu/mag_pgp.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.040 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site