[Gambas-user] su on non english computers

Bruce Steers bsteers4 at gmail.com
Sat Jan 16 02:36:45 CET 2021

You can enter password when ./reconf-all starts and go for a walk.
when it gets to 'sudo make unstall' or 'su -c "make install"' the proccess
does not fail because you are not there to type the password. it sends the
command then reads the terminal text looking for.
Line Begins "[sudo]" (for sudo) when the terminal line says that it types
the previously entered password for you using TerminalView.Input()

But I need to know if su -c command prompts with "Password:" in all
That's what I am saying.

On Sat, 16 Jan 2021 at 01:10, Jussi Lahtinen <jussi.lahtinen at gmail.com>

> I don't quite follow what you are saying... you mean it automatically
> fills password??
> Jussi
> On Sat, Jan 16, 2021 at 2:15 AM Bruce Steers <bsteers4 at gmail.com> wrote:
>> Hi all.
>> I've written a function in my gambas installer app than auto types sudo
>> password when asked for.
>> This is easy as sudo when requesting password has this message...
>> [sudo] Password for user
>> so i can make the app look for the last terminal line beginning with
>> [sudo]
>> But if i use su -c "command" the prompt is ...
>> Password:
>> My question is if using su -c on a non-english computer does su display a
>> translated Password word or does it say Password: in all languages?
>> Thanks in advance :)
>> BruceS
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210116/962e6939/attachment.htm>

More information about the User mailing list