[Gambas-user] su on non english computers

Bruce Steers bsteers4 at gmail.com
Sat Jan 16 01:14:25 CET 2021

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 ...

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 :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210116/60ec5434/attachment.htm>

More information about the User mailing list