[Gambas-user] Program to use different group rights

Tobias Boege taboege at gmail.com
Sun Dec 2 14:20:06 CET 2018


On Sun, 02 Dec 2018, Rolf-Werner Eilert wrote:
> Me again, now on another system.
> 
> When we discussed this, I tried it on a Suse with KDE. Now I am on Ubuntu
> Mate, and it doesn't run anymore. I get the error message "su: only may be
> started from a terminal" (or something like that, it's in German).
> 

You can get the default English output by rerunning the program under
the C locale. No need to translate it yourself. E.g.

  $ LC_ALL=C su ...

> Is there a chance to fake a terminal environment in a shell?
> 

You mean from Gambas? Shell For Input Output creates a PTY, which is
meant to emulate a terminal.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list