[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command 'su' is not working in virtual console



Hi (first message) Bart-Jan and (second) Marko,

On Fri, Dec 16, 2011 at 09:32:05PM +0100, Bart-Jan Vrielink wrote:
> You shouldn't be able to strace suid programs.

Please enlighten me, why not?


On Fri, Dec 16, 2011 at 09:34:40PM +0100, Marko Randjelovic wrote:
> Looks like su thinks it's not a terminal, but obviously it is.

How sure are you that nothing is wrong in that category? What is
the output of the tty command? Looking at the su.c source it
seems the call to ttyname() is failing. There must be a reason to
it and it might be worth to investigate.


-- 
$ cat ~/.signature
Freddy Spierenburg <freddy@snarl.nl>         http://freddy.snarl.nl/
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!

Attachment: signature.asc
Description: Digital signature


Reply to: