su/kdesu not working

Roberto Ragusa mail at robertoragusa.it
Mon Nov 9 16:47:30 UTC 2009


Dj YB wrote:
>> # strace -u foo -f su -
>>
> 
> wow that was incredibly long output
> 
> the important line was about 1023 times repeating
> 
> [pid 24172] close(3) = 0
> [pid 24172] close(4) = 0
> [pid 24172] close(5) = -1 (EBADF) bad file descriptor
> [pid 24172] close(6) = -1 (EBADF) bad file descriptor
> [pid 24172] close(7) = -1 (EBADF) bad file descriptor
> [pid 24172] close(8) = -1 (EBADF) bad file descriptor
> ...
> [pid 24172] close(1023) = -1 (EBADF) bad file descriptor
> 
> that was before and after the password entering step.
> any idea what to do next?
> it seems like a filesystem problem

No, that is not a significant part.
This is just a new process starting and doing a "let me close
every file descriptor they passed me" function.
It actually closes only 3 and 4 as the others are not
opened (closing them fails because they are simply not open).

Your problem is somewhere else.
Try to see what happens before the access denied message.

-- 
   Roberto Ragusa    mail at robertoragusa.it




More information about the users mailing list