Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k
added detail
Source Link
P.Brian.Mackey
  • 2k
  • 4
  • 18
  • 20

I am running Debian on a VM. I login to the GUI and go to Applications > Accessories > Terminal.

# echo shell: /bin/bash

I modified ENV_SUPATH, ENV_PATH inside of /etc/login.defs. I restarted the shell. In superuser mode echo $PATH shows my update. In normal mode echo $PATH does not show my update. I added and modified ~/.bash_profile. I still can't see my change and I'm starting to chase my tail.

/etc/login.defs contents:

ENV_SUPATH      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/brian/.linuxbrew/bin
ENV_PATH        PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/brian/.linuxbrew/bin

~/.bash_profile:

PATH=/home/brian/.linuxbrew/bin:$PATH

How can I troubleshoot and resolve this?

I modified ENV_SUPATH, ENV_PATH inside of /etc/login.defs. I restarted the shell. In superuser mode echo $PATH shows my update. In normal mode echo $PATH does not show my update. I added and modified ~/.bash_profile. I still can't see my change and I'm starting to chase my tail.

How can I troubleshoot and resolve this?

I am running Debian on a VM. I login to the GUI and go to Applications > Accessories > Terminal.

# echo shell: /bin/bash

I modified ENV_SUPATH, ENV_PATH inside of /etc/login.defs. I restarted the shell. In superuser mode echo $PATH shows my update. In normal mode echo $PATH does not show my update. I added and modified ~/.bash_profile. I still can't see my change and I'm starting to chase my tail.

/etc/login.defs contents:

ENV_SUPATH      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/brian/.linuxbrew/bin
ENV_PATH        PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/brian/.linuxbrew/bin

~/.bash_profile:

PATH=/home/brian/.linuxbrew/bin:$PATH

How can I troubleshoot and resolve this?

use code escapes
Source Link
HalosGhost
  • 4.9k
  • 10
  • 37
  • 42
Loading
Source Link
P.Brian.Mackey
  • 2k
  • 4
  • 18
  • 20
Loading