Hi,

So, su(1) has an internal flag called doshell, which is true if you use
something like "su", without an explicit command, and su will start an
interactive shell. doshell is false when you pass an argument using -c,
like sux does it.

In the case of doshell == false, su will close the tty and thus no job
control is possible.

So, either sux has to do the things which su does itself, or we need to
introduce a flag for su which changes behavior in such a way that the
tty will not be closed.

Best regards,
Michael



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

Reply via email to