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

Re: setting path for root after "sudo su" and "sudo" for Debian Bullseye (11)



On 2022-05-19 04:08, Greg Wooledge wrote:

A much better workaround is to create the /etc/default/su file and put
the line

ALWAYS_SET_PATH yes

well that's handy. "su -" puts you in /root whereas with that you stay in $PWD.

cheers
mick


Reply to: