Hi,

> 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')

Hmm.. is adding '--login' option not enough?


regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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

Reply via email to