- This topic has 2 replies, 2 voices, and was last updated Mar 21-2:48 pm by anticapitalista.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
While betatesting, roky discovered a problem with new version of the script.
An antiX user’s sudo -permissioned inxi instance will write a root-permissioned conf file under user’s $HOME
https://www.linuxquestions.org/questions/slackware-14/beta-testers-for-perl-inxi-requested-4175625577/page4.html#post5833309
By opening a terminal and typing
sudo env
we can see that $XDG_CONFIG_HOME is not set
from the new inxi version manpage:
/etc/inxi.conf is the default configurations. These can be overridden by user configurations found in one of the following locations
(inxi will place its config file using the following precedence as well, that is, if $XDG_CONFIG_HOME is not empty, it will go there, else if
$HOME/.conf/inxi.conf exists, it will go there, and as a last default, the legacy location is used:$XDG_CONFIG_HOME/inxi.conf
or
$HOME/.conf/inxi.conf
or
$HOME/.inxi/inxi.conf
In the antiX sudo shell environment, $HOME=/root is set.
If the package “smxi-inxi-antix” installed a /root/.conf/inxi.conf file (even just a zero-length placeholder file), maybe that would prevent the problem that roky encountered?
.
Hope the above will fix. I’m anxious about the potential side-effects from exporting $XDG_CONFIG_HOME for sudo user
As a security consideration, IMO “smxi-inxi-antix” package should install a /etc/inxi.conf declaring
B_ALLOW_UPDATE=’false’
^—– autoupdate would fetch via curl|wget
@anticapitalista
I’ve sent a “smxi-inxi-antix” pull request which (untested) applies these changes.
Thanks skidoo – changes will be in uploaded new deb.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |