Messages in this thread | | | Date | Tue, 26 Apr 2005 10:58:18 +0200 | From | Jan Hudec <> | Subject | Re: [PATCH] private mounts |
| |
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@ucw.cz> [unhandled content-type:application/pgp-signature] | |