Message: previous - next
Month: August 2019

Re: [trinity-users] PATH not set for root on Buster

From: "Dr. Nikolaus Klepp" <office@...>
Date: Wed, 7 Aug 2019 22:25:01 +0200
Anno domini 2019 Wed, 7 Aug 22:19:22 +0200
 Thierry de Coulon scripsit:
> I understand this is a Debian problem, not a TDE problem, however:
> On one machine I have installed Debian Stretch + TDE; no problem.
> On the same machine I installed (on another partition) Buster + TDE. Seems to 
> work, however most commands don't work from konsole with su.
> The reason is that the path does not contain important directories.
> Now the following I don't really understand:
> The path is ok in the different files I could check.
> I've added "export 
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 
> to /root/.profile  but it does not work.
> The result is that a command such as dpkg -i or dpkg-reconfigure does not 
> work, until I issue the export PATH=  directly  in konsole
> Debian is fresh installed with netinstall. This is really inconvenient, so of 
> there is no way to cure it I'm going back to Stretch.
> Thierry

Ran into the same thing. Looks like when changing to root via "su", the environment and path is from the users  .profile, which does not include /sbin (any more?)


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: trinity-users-unsubscribe@...
> For additional commands, e-mail: trinity-users-help@...
> Read list messages on the web archive:
> Please remember not to top-post:

Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...