:: [DNG] su on Beowulf (was We need u…
Etusivu
Poista viesti
Vastaa
Lähettäjä: tempforever
Päiväys:  
Vastaanottaja: dng
Vanhat otsikot: Re: [DNG] We need upgrade reports
Aihe: [DNG] su on Beowulf (was We need upgrade reports)

>> One (minor) irritation that I noticed both on this and my recent VM upgrade,
>> is root user no longer has /usr/local/sbin, /usr/sbin, /sbin in PATH
>
> Do you mean upon login, or su? If su, then you need to invoke su as
>
> su -
>
> instead of simply as su.
>



> to fix su:
>
> cat /etc/default/su
> ALWAYS_SET_PATH yes



Thank you. Both of these solutions work. The path was missing from
"su" root, not from actual root login.