mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Magnus Naeslund\(f\)" <mag@fbab.net>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Subject: Maximum mountpoints + chrooted login
Date: Wed, 27 Jun 2001 10:08:47 +0200	[thread overview]
Message-ID: <002b01c0fee0$6429bc00$020a0a0a@totalmef> (raw)

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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



             reply	other threads:[~2001-06-27  8:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-27  8:08 Magnus Naeslund(f) [this message]
2001-06-27  8:31 ` Alexander Viro
2001-06-27 11:56   ` Magnus Naeslund(f)
2001-06-27 14:46     ` Alexander Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002b01c0fee0$6429bc00$020a0a0a@totalmef' \
    --to=mag@fbab.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®