:: Re: [DNG] su root missing sbin on b…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: KatolaZ
Date:  
À: dng
Sujet: Re: [DNG] su root missing sbin on beowulf
On Wed, Aug 22, 2018 at 04:24:38PM +1000, wirelessduck@??? wrote:
> I installed ascii onto a new machine with ascii-netinstall iso and immediately upgraded to beowulf. The machine is a headless VM and has no GUI installed.
>
> I notice when I login to root with “su” the $PATH doesn’t contain any sbin folders, only bin. If I login to root with “su -“ then the $PATH is as expected.
>
> I don’t notice this happening on any ascii installs. Is there something new in beowulf/buster default configuration?
>


Hi Tom,

I upgraded to Beowulf several months ago and didn't notice any issue
with su. You might want to check whether you have changed ENV_SUPATH
in /etc/login.defs by any chance, or if you have a custom .bashrc in
/root which resets PATH?

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]