I mean fget(3C) will never come back because "su" command has no outputs after
the localized string "Password:" is just ignored.
while ( 1 )
{
bzero(buffer, 255);
r = fgets (buffer, 255, infile);
...
parse_embedded_su_output (context, buffer);
switch (context->msg_type) {
case ES_PASSWORD:
Alan Coopersmith wrote:
> Takao Fujiwara - Tokyo S/W Center wrote:
>
>> I'm updating libgksu1.2-04-rbac-support.diff.
>> gksu tries to parse the string "Password:" but "Password:" is
>> localized on locale then gksu hangs up by itself.
>> The patch means "su" command is always run on C locale.
>
>
> And what happens when su prompts for something other than "Password:"?
>