-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan S. Shapiro wrote:
> Your user shell is the parent of /sbin/passwd when you
> execute /sbin/passwd. It is entirely proper that /sbin/passwd should not
> trust its parent.
> 

Interesting, this opens (for me) a completely new view to confinement:
it is needed to run programs more privileged than the user. This should
simplify the task of finding an example where your kind of confinement
is needed.

Still, the passwd example is broken: it only does not work because the
file contains entries of other users, too. I would make the file local
to each shell. So in fact, it could just contain a plaintext password
the user can change with an ordinary editor.
- --
- -ness-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEVMr1vD/ijq9JWhsRAkboAJ47z5xopzudxv2naSPfMNiR9PzNOwCfZWo0
/M7WTgMHGQRjx3TR4fFKpCw=
=dDKN
-----END PGP SIGNATURE-----


_______________________________________________
L4-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/l4-hurd

Reply via email to