Re: PATH not set for root on Buster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?)

nik

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> 
> 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux