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

Re: PATH nfg after su



On Fri, Oct 23, 2020 at 01:30:11PM +0100, Tixy wrote:
> On Fri, 2020-10-23 at 08:19 -0400, Greg Wooledge wrote
> [...]
> > Using "sudo su -" is a new one to me.  Not only are you wastefully
> > running two programs when you only need one.
> [...]
> 
> It's useful (essential?) if you want a root shell when there's no root
> password set like on Ubuntu (and optionally on Debian).

"sudo -s" and "sudo -i".

Hell, even "sudo bash" would be better.  su does a ridiculous amount
of extra crap.


Reply to: