Closed mvo5 closed 6 years ago
This reverts commit a9c4ea6ff0732911a47fa7a1b035eb10c1e68cd4.
After some research it turns out that the problem with "PATH" in su -l is a bug there (see https://github.com/shadow-maint/shadow/pull/119).
We don't need the generator having the right PATH in /etc/environment is enough for non-broken tools.
We can get it in as it is, /etc/environment is setting PATH=/snap/bin on core18 systems.
This reverts commit a9c4ea6ff0732911a47fa7a1b035eb10c1e68cd4.
After some research it turns out that the problem with "PATH" in su -l is a bug there (see https://github.com/shadow-maint/shadow/pull/119).
We don't need the generator having the right PATH in /etc/environment is enough for non-broken tools.