On Sun, Sep 18, 2005 at 11:52:09PM -0400, Daniel Jacobowitz wrote:
> Here's the code, hardcoded paths and all:
> http://return.false.org/~drow/fuse/shadow-etc.c
Slightly better, but not much:
http://return.false.org/~drow/fuse/
--
Daniel Jacobowitz
CodeSourcery, LLC
--
To UNSUBSCRIBE, ema
On Thu, Sep 15, 2005 at 06:29:12AM -0500, Peter Samuelson wrote:
>
> [Ernestas V.]
> > Perhaps hard/symlinking original /etc/passwd, /etc/shadow and
> > /etc/group to chrooted environments would help?
>
> Symlinks won't work. Think about what a chroot environment *is*.
>
> Hardlinks will only w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob Browning <[EMAIL PROTECTED]> writes:
> Roger Leigh <[EMAIL PROTECTED]> writes:
>
>> Notice that the /etc/schroot/setup.d/30passwd was used to sync the
>> passwd and related files by copying them into the chroot from the main
>> system. While it's
Roger Leigh <[EMAIL PROTECTED]> writes:
> Notice that the /etc/schroot/setup.d/30passwd was used to sync the
> passwd and related files by copying them into the chroot from the main
> system. While it's a simple copy in this case, you can easily
> customise the script to sync the other way on ses
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew Pollock <[EMAIL PROTECTED]> writes:
> On Wed, Sep 14, 2005 at 02:12:54PM -0700, Rob Browning wrote:
>>
>> Is it possible to configure a set of chroots (woody, sarge, whatever)
>> so that all of the chroot passwd/group DBs will stay in sync wit
Richard Atterer <[EMAIL PROTECTED]> writes:
>>From the adduser/addgroup manpage:
>
> If the file /usr/local/sbin/adduser.local exists, it will be executed
> after the user account has been set up in order to do any local setup.
> The arguments passed to adduser.local are: username uid gi
"Ernestas V." <[EMAIL PROTECTED]> writes:
> Perhaps hard/symlinking original /etc/passwd, /etc/shadow and /etc/group
> to chrooted environments would help?
Thanks for the suggestion, but I suspect that locking wouldn't work
correctly in such an arrangement.
If you could tell the system to use a
On Wed, Sep 14, 2005 at 02:12:54PM -0700, Rob Browning wrote:
> Is it possible to configure a set of chroots (woody, sarge, whatever)
> so that all of the chroot passwd/group DBs will stay in sync with each
> other and with the host DB automaticall, so that, for example, a
> useradd, usermod, or us
On Sep 15, Peter Samuelson <[EMAIL PROTECTED]> wrote:
> Bind mounts will work
> (mount --bind /etc/passwd /mnt/sarge-chroot/etc/passwd)
> but apparently don't support locking all of a file's representations,
What about bind-mounting the /etc/.pwd.lock lock file too?
--
ciao,
Marco
signature.as
[Ernestas V.]
> Perhaps hard/symlinking original /etc/passwd, /etc/shadow and
> /etc/group to chrooted environments would help?
Symlinks won't work. Think about what a chroot environment *is*.
Hardlinks will only work if the programs that edit /etc/passwd and
/etc/group overwrite them rather th
Perhaps hard/symlinking original /etc/passwd, /etc/shadow and /etc/group
to chrooted environments would help?
Rob Browning wrote:
Is it possible to configure a set of chroots (woody, sarge, whatever)
so that all of the chroot passwd/group DBs will stay in sync with each
other and with the host
On Wed, Sep 14, 2005 at 02:12:54PM -0700, Rob Browning wrote:
>
> Is it possible to configure a set of chroots (woody, sarge, whatever)
> so that all of the chroot passwd/group DBs will stay in sync with each
> other and with the host DB automaticall, so that, for example, a
> useradd, usermod, or
12 matches
Mail list logo