115 reputation
9
bio website piotr.dobrogost.net
location Poland
age 36
visits member for 3 years, 1 month
seen Apr 11 at 11:04

C++ is the king


Mar
22
comment clear command in Konsole
Ctrl+Shift+X does not work for me in Konsole Version 2.12.3 Ctrl+Shift+K does work – see superuser.com/a/123196/664
Mar
6
comment Sudo changes PATH, yet executes the same binary
I posted a follow-up which you might be interested in – Mismatch between sys.executable and sys.version in Python
Mar
6
accepted Sudo changes PATH, yet executes the same binary
Mar
6
comment Sudo changes PATH, yet executes the same binary
If this is set, sudo will both search for the command in this PATH and set this in the environment of the command it runs. – this is much clearer than brief Path used for every command run from sudo. in the sudoers man page.
Mar
5
comment Sudo changes PATH, yet executes the same binary
@Mel_Burslan And the location it gets to be found is /usr/local/bin the first time – I'm not sure what you mean here. Running sudo env | grep PATH clearly shows what's the PATH when operating with sudo. The question is why sudo python does not act according to this PATH?
Mar
5
comment Sudo changes PATH, yet executes the same binary
@yoonix Updated my question with information you asked for.
Mar
5
revised Sudo changes PATH, yet executes the same binary
added 805 characters in body
Mar
5
comment Sudo changes PATH, yet executes the same binary
@peterph Then why does env show different PATH when run with sudo?
Mar
5
awarded  Editor
Mar
5
awarded  Student
Mar
5
revised Sudo changes PATH, yet executes the same binary
added 114 characters in body
Mar
5
asked Sudo changes PATH, yet executes the same binary
Feb
23
comment How to automatically enter sudo's grace period upon CLI login?
all you need to do is update the timestamp on the directory – How to find out this directory?
Feb
17
comment How to prevent .jar files from going into /etc when installing OpenJDK from rpm?
I do not question that it works fine :) I'm concerned with the place (/etc) which it chose to keep these links. I believe /etc is meant for configuration and not for keeping random links. Wouldn't something like /usr/bin or /usr/local/bin be a better place?
Feb
17
comment How to prevent .jar files from going into /etc when installing OpenJDK from rpm?
Thanks. Do you personally think alternatives does the right thing by putting these links in /etc directory?
Feb
17
awarded  Scholar
Feb
17
accepted How to prevent .jar files from going into /etc when installing OpenJDK from rpm?
Feb
17
asked How to prevent .jar files from going into /etc when installing OpenJDK from rpm?
Feb
12
comment List all DNS Servers, including those pushed by VPN
And what if I do not use NetworkManager?
Dec
5
awarded  Commentator