Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228146

Re: PATH nfg after su

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: PATH nfg after su
Date 2020-10-23 15:20 +0200
Message-ID <B3597-7V6-13@gated-at.bofh.it> (permalink)
References <B2V9L-1Tq-7@gated-at.bofh.it> <B2Wfv-2uZ-3@gated-at.bofh.it> <B34d4-7mX-9@gated-at.bofh.it> <B34d4-7mX-7@gated-at.bofh.it> <B34wq-7t7-13@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


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.

S!

-- 
Sigmentation fault. Core dumped.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PATH nfg after su Bob Bernstein <poobah@ruptured-duck.com> - 2020-10-23 04:40 +0200
  Re: PATH nfg after su Bob Bernstein <poobah@ruptured-duck.com> - 2020-10-23 05:50 +0200
    Re: PATH nfg after su Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-23 14:10 +0200
    Re: PATH nfg after su Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-23 14:20 +0200
      Re: PATH nfg after su Tixy <tixy@yxit.co.uk> - 2020-10-23 14:40 +0200
        Re: PATH nfg after su Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-23 14:40 +0200
        Re: PATH nfg after su Sven Hartge <sven@svenhartge.de> - 2020-10-23 15:20 +0200
          Re: PATH nfg after su Tixy <tixy@yxit.co.uk> - 2020-10-23 20:00 +0200
            Re: PATH nfg after su Dan Ritter <dsr@randomstring.org> - 2020-10-23 20:10 +0200
            Re: PATH nfg after su "Andrew M.A. Cater" <amacater@einval.com> - 2020-10-24 21:20 +0200
              Re: PATH nfg after su <tomas@tuxteam.de> - 2020-10-24 21:40 +0200
    Re: PATH nfg after su "Andrew M.A. Cater" <amacater@einval.com> - 2020-10-23 14:20 +0200

csiph-web