Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205179
| From | Lee <ler762@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Setting default $PATH for all users |
| Date | 2019-02-11 00:10 +0100 |
| Message-ID | <xq6ox-7pb-1@gated-at.bofh.it> (permalink) |
| References | <xpeet-7hl-3@gated-at.bofh.it> <xpjHb-2bS-7@gated-at.bofh.it> <xq4mJ-5UK-1@gated-at.bofh.it> <xq4PM-6l6-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2/10/19, Andy Smith <andy@strugglers.net> wrote: > Hello, > > On Sun, Feb 10, 2019 at 02:57:22PM -0600, Richard Owlett wrote: >> I used "grep -r /usr/local/games /etc" which yielded "/etc/login.defs" >> and >> "/etc/profile". Editing those two files had no effect. > > How are you determining that changes to /etc/profile had no effect? > Because changes there (or in files in /etc/profile.d/) should affect all > new shels that you launch. Example: > > $ cat /etc/profile.d/extrapath.sh > export PATH=$PATH:/foo > > Then I open a new shell and echo $PATH, /foo is in there. > > If that is not your experience, you are doing something wrong, or your > system is very broken. Or you're using xfce which seems to ignore .profile & .bash_profile Creating an /etc/profile.d/extrapath.sh from your example didn't do anything for me. adding the line export PATH=$PATH:/foo to /etc/bash.bashrc however... followup question - why are the bash "login" dot files ignored if you're using xfce? Regards, Lee
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Setting default $PATH for all users Richard Owlett <rowlett@cloud85.net> - 2019-02-08 14:20 +0100
Re: Setting default $PATH for all users Roberto C. Sánchez <roberto@debian.org> - 2019-02-08 14:30 +0100
Re: Setting default $PATH for all users <tomas@tuxteam.de> - 2019-02-08 14:40 +0100
Re: Setting default $PATH for all users Richard Owlett <rowlett@cloud85.net> - 2019-02-08 16:00 +0100
Re: Setting default $PATH for all users Dan Ritter <dsr@randomstring.org> - 2019-02-08 16:10 +0100
Re: Setting default $PATH for all users David Wright <deblis@lionunicorn.co.uk> - 2019-02-11 04:10 +0100
Re: Setting default $PATH for all users <tomas@tuxteam.de> - 2019-02-11 10:00 +0100
Re: Setting default $PATH for all users rhkramer@gmail.com - 2019-02-11 13:50 +0100
Re: Setting default $PATH for all users Curt <curty@free.fr> - 2019-02-11 14:10 +0100
Re: Setting default $PATH for all users rhkramer@gmail.com - 2019-02-11 18:10 +0100
Re: Setting default $PATH for all users Curt <curty@free.fr> - 2019-02-11 18:30 +0100
Re: Setting default $PATH for all users Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-11 18:40 +0100
Re: Setting default $PATH for all users Curt <curty@free.fr> - 2019-02-11 18:50 +0100
Re: Setting default $PATH for all users David Wright <deblis@lionunicorn.co.uk> - 2019-02-11 21:00 +0100
Re: Setting default $PATH for all users <tomas@tuxteam.de> - 2019-02-08 16:40 +0100
Re: Setting default $PATH for all users David Wright <deblis@lionunicorn.co.uk> - 2019-02-08 20:10 +0100
Re: Setting default $PATH for all users Richard Owlett <rowlett@cloud85.net> - 2019-02-10 22:00 +0100
Re: Setting default $PATH for all users Andy Smith <andy@strugglers.net> - 2019-02-10 22:30 +0100
Re: Setting default $PATH for all users Richard Owlett <rowlett@cloud85.net> - 2019-02-10 22:50 +0100
Re: Setting default $PATH for all users Andy Smith <andy@strugglers.net> - 2019-02-11 00:30 +0100
Re: Setting default $PATH for all users Lee <ler762@gmail.com> - 2019-02-11 00:10 +0100
Re: Setting default $PATH for all users Richard Owlett <rowlett@cloud85.net> - 2019-02-11 00:30 +0100
Re: Setting default $PATH for all users Lee <ler762@gmail.com> - 2019-02-11 01:30 +0100
Re: Setting default $PATH for all users Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-11 15:40 +0100
Re: Setting default $PATH for all users <tomas@tuxteam.de> - 2019-02-10 22:50 +0100
Re: Setting default $PATH for all users Richard Owlett <rowlett@cloud85.net> - 2019-02-10 23:30 +0100
Re: Setting default $PATH for all users <tomas@tuxteam.de> - 2019-02-11 10:00 +0100
Re: Setting default $PATH for all users David Wright <deblis@lionunicorn.co.uk> - 2019-02-11 14:50 +0100
Re: Setting default $PATH for all users David Wright <deblis@lionunicorn.co.uk> - 2019-02-11 03:30 +0100
csiph-web