• exu@feditown.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 days ago

    /etc/profile also needs root to edit. I agree that there should be a config file in a standard location, my issue is that using $(your local shell config) is barely a standard.
    For this purpose PAM’s /etc/environment works great in the global context, but there’s no PAM equivalent for each user.
    Systemd has global and per user environment stuff, but last I checked this only worked for systemd services