Re: Maximum mountpoints + chrooted login

2001-06-27 Thread Alexander Viro
On Wed, 27 Jun 2001, Magnus Naeslund(f) wrote: > I'll wait for 2.5 then... > Where's that namespace patch located? The last one I've put on anonftp was against 2.4.6-pre2 (namespaces-a-S6-pre2, on ftp.math.psu.edu/pub/viro). It still includes tons of fs/super.c cleanups and fixes - they still

Re: Maximum mountpoints + chrooted login

2001-06-27 Thread Magnus Naeslund\(f\)
From: "Alexander Viro" <[EMAIL PROTECTED]> > [snip] > > I didn't go for proper solution in 2.4.0-test*). However, instead of > crufting up kinda-sorta namespaces one could use the real thing. Relevant > cleanups of superblock handling will go in in 2.5.very_early and the > rest of patch

Re: Maximum mountpoints + chrooted login

2001-06-27 Thread Alexander Viro
On Wed, 27 Jun 2001, Magnus Naeslund(f) wrote: > I was thinking of doing a chrooted login for some ssh accounts. > The plan is this: [snip CLONE_NAMESPACE-by-hands] > Does this seem like a bad idea? > (then please tell me why :)) Mostly because there's a better way to do that. Yes, such

Maximum mountpoints + chrooted login

2001-06-27 Thread Magnus Naeslund\(f\)
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

Maximum mountpoints + chrooted login

2001-06-27 Thread Magnus Naeslund\(f\)
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

Re: Maximum mountpoints + chrooted login

2001-06-27 Thread Alexander Viro
On Wed, 27 Jun 2001, Magnus Naeslund(f) wrote: I was thinking of doing a chrooted login for some ssh accounts. The plan is this: [snip CLONE_NAMESPACE-by-hands] Does this seem like a bad idea? (then please tell me why :)) Mostly because there's a better way to do that. Yes, such scheme

Re: Maximum mountpoints + chrooted login

2001-06-27 Thread Magnus Naeslund\(f\)
From: Alexander Viro [EMAIL PROTECTED] [snip] I didn't go for proper solution in 2.4.0-test*). However, instead of crufting up kinda-sorta namespaces one could use the real thing. Relevant cleanups of superblock handling will go in in 2.5.very_early and the rest of patch (namespace proper)

Re: Maximum mountpoints + chrooted login

2001-06-27 Thread Alexander Viro
On Wed, 27 Jun 2001, Magnus Naeslund(f) wrote: I'll wait for 2.5 then... Where's that namespace patch located? The last one I've put on anonftp was against 2.4.6-pre2 (namespaces-a-S6-pre2, on ftp.math.psu.edu/pub/viro). It still includes tons of fs/super.c cleanups and fixes - they still