Re: [PATCH] private mounts
From: Jan Hudec
Date: Tue Apr 26 2005 - 04:00:44 EST
On Mon, Apr 25, 2005 at 12:02:43 -0700, Bryan Henderson wrote:
> >mknamespace -p users/$UID # (like mkdir -p)
> >setnamespace users/$UID # (like cd)
> ^^^^^^^^
>
> You realize that 'cd' is a shell command, and has to be, I hope. That
> little fact has thrown a wrench into many of the ideas in this thread.
You don't want to have such command, really! What you want is a PAM
module, that looks whether there is already a session for that user and
switches to it's namespace, if it does. Remember that it's namespace
- it can be first created, then attached and then populated with mounts.
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature