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

Re: PATH nfg after su



On Fri, 2020-10-23 at 15:11 +0200, Sven Hartge wrote:
> Tixy <tixy@yxit.co.uk> 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).
> 
> No.
> 
> "sudo -i" does exactly that: Run a shell as "root" and ask for the
> password of the user calling it.

Thanks. Debian has su installed as part of a required package so I
never bothered installing sudo, it just seemed to be an Ubuntu thing.

-- 
Tixy


Reply to: