Package: pbuilder
Version: 0.161
Severity: normal

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

pbuilder login does:

        ${CHROOTEXEC} bin/bash

This starts bash as a normal interactive shell, not a login shell.
This means that it can, for example, be suspended, with unpleasant
results.  bash's exec command allows setting the invoked program's 0th
argument with the -a option, so it would be possible to start a login
shell with:

        (${CHROOTEXEC} bin/bash -c 'exec -a -bash bin/bash')

Ben.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGzgnG79ZNCRIGYgcRAmqDAJ93/731FWO27JFovgTqj/QB9NheCACglLwq
YFXN2xbxNGFa8UYcFvQBns0=
=S2dP
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to