@rixty@social.outsourcedmath.com @UnitooDailyNews
If using Debian you may need to use su - rather than just su to gain root. Something to do with the environment you drop in to

@noisytoot maybe able to comment on this to provide some better clarity.

Follow

@rixty@social.outsourcedmath.com @UnitooDailyNews @noisytoot

To add (i have changed the user name and hostname to protect my security)

using su

user@computer:~$ echo $PATH

/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
user@computer:~$

using

su -

root@computer:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
root@computer:~#

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.