You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Apr 15 2024 version of /etc/profile with size of 8113 bytes - therefore unmodified, still in state as received - contains 205 identical lines, each of them appending /usr/sbin and /sbin to PATH.
The consequence is a hugely long PATH with many duplicates of these two directories.
Apparent purpose is to add the these directories also to PATH of user login, not just to root PATH.
I therefore logged in as user "sovol", the account defaulting to password "sovol", switched to root ("sudo sh"), edited /etc/profile, by removing all trailing export PATH="$PATH:/usr/sbin:/sbin", then appended these two directories to user path definition on line 7, which now reads:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/sbin"
The text was updated successfully, but these errors were encountered:
The Apr 15 2024 version of /etc/profile with size of 8113 bytes - therefore unmodified, still in state as received - contains 205 identical lines, each of them appending /usr/sbin and /sbin to PATH.
The consequence is a hugely long PATH with many duplicates of these two directories.
Apparent purpose is to add the these directories also to PATH of user login, not just to root PATH.
I therefore logged in as user "sovol", the account defaulting to password "sovol", switched to root ("sudo sh"), edited /etc/profile, by removing all trailing export PATH="$PATH:/usr/sbin:/sbin", then appended these two directories to user path definition on line 7, which now reads:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/sbin"
The text was updated successfully, but these errors were encountered: