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


Groups > linux.debian.user > #165888

Re: Sudo

From Thomas D Dial <tdial@cox.net>
Newsgroups linux.debian.user
Subject Re: Sudo
Date 2016-03-24 03:00 +0100
Message-ID <rg2J5-3GP-7@gated-at.bofh.it> (permalink)
References <reZNg-ue-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/20/2016 10:30 PM, Michael Milliman wrote:
> On 03/20/2016 03:26 AM, Adam Wilson wrote:
>> On Sat, 19 Mar 2016 19:30:57 +0000
>> Joe <joe@jretrading.com> wrote:
>>
>>> On Sat, 19 Mar 2016 19:57:56 +0100
>>> Sven Arvidsson <sa@whiz.se> wrote:
>>>
>>>> On Sat, 2016-03-19 at 18:38 +0000, Joe wrote:
>>>>> I've never seen sudo installed by default in any Debian, and I
>>>>> begin with expert minimal netinstalls of stable, and I've never
>>>>> seen it offered as an option there. My first two actions on
>>>>> reboot are to install sudo and mc.
>>>>      By default you are asked to provide a password for the “root”
>>>>      (administrator) account and information necessary to create one
>>>>      regular user account. If you do not specify a password for the
>>>>      “root” user this account will be disabled but the sudo package
>>>> will be installed later to enable administrative tasks to be carried
>>>> out on the new system.
>>>>
>>>> From https://www.debian.org/releases/stable/amd64/apas03.html.en
>>>>
>>>>   
>>> OK, I didn't know that.
>>>
>> When you carry out a net install (or any installation, in fact) if you
>> decline to provide a root password then sudo is automatically installed
>> and configured for you, with the first user you create able to become
>> root with sudo.
>>
>> This is all explained in the installer at the root password stage-
>> there is no need to install sudo manually post-installation.
>>
>> If you want sudo, just don't provide a root password in the
>> installation.
> On the other hand, I use both su and sudo.  If I have a protracted
> session with several different tasks that I need to complete all
> requiring root access I su to the root user.  If on the other hand, I
> only need to perform a single command, or so, I use sudo.  Both have
> their uses, though as already noted, Debian generally does one or the
> other as a default.  I install with a root password, and then bring in
> the sudo package post-installation.
> 

Or simply "sudo bash --login"

I haven't needed to use root login for years, including on Ubuntu
systems on which, as far as I can tell, no direct root login is available.

Tom Dial

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


Thread

Sudo Frank Jones <sandyman45@sky.com> - 2016-03-19 17:40 +0100
  Re: Sudo humbert.olivier.1@free.fr - 2016-03-19 17:50 +0100
  Re: Sudo Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-03-19 18:10 +0100
    Re: Sudo doug <dmcgarrett@optonline.net> - 2016-03-19 18:40 +0100
      Re: Sudo John Hasler <jhasler@newsguy.com> - 2016-03-19 18:50 +0100
        Re: Sudo Keith Bainbridge <keithrbaugroups@gmail.com> - 2016-03-20 06:10 +0100
          Re: Sudo Adam Wilson <moxalt@riseup.net> - 2016-03-20 09:30 +0100
          Re: Sudo Dan Ritter <dsr@randomstring.org> - 2016-03-20 16:30 +0100
    Re: Sudo Joe <joe@jretrading.com> - 2016-03-19 19:40 +0100
      Re: Sudo Sven Arvidsson <sa@whiz.se> - 2016-03-19 20:10 +0100
        Re: Sudo Joe <joe@jretrading.com> - 2016-03-19 20:40 +0100
          Re: Sudo Adam Wilson <moxalt@riseup.net> - 2016-03-20 09:30 +0100
            Re: Sudo Michael Milliman <michael.e.milliman@gmail.com> - 2016-03-21 05:40 +0100
              Re: Sudo Wolf Halton <wolf.halton@gmail.com> - 2016-03-21 06:30 +0100
                Re: Sudo Michael Milliman <michael.e.milliman@gmail.com> - 2016-03-21 17:10 +0100
                Re: Sudo Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-03-21 18:00 +0100
                Re: Sudo Richard Hector <richard@walnut.gen.nz> - 2016-03-21 22:30 +0100
              Re: Sudo Richard Hector <richard@walnut.gen.nz> - 2016-03-21 09:50 +0100
                Re: Sudo <tomas@tuxteam.de> - 2016-03-21 10:20 +0100
                Re: Sudo Richard Hector <richard@walnut.gen.nz> - 2016-03-21 22:40 +0100
                Re: Sudo <tomas@tuxteam.de> - 2016-03-22 09:00 +0100
              Re: Sudo Thomas D Dial <tdial@cox.net> - 2016-03-24 03:00 +0100
                Re: Sudo Stefan Monnier <monnier@iro.umontreal.ca> - 2016-03-24 14:50 +0100
                Re: Sudo David Wright <deblis@lionunicorn.co.uk> - 2016-03-24 15:50 +0100
                Re: Sudo Stefan Monnier <monnier@iro.umontreal.ca> - 2016-03-24 16:20 +0100
                Re: Sudo David Wright <deblis@lionunicorn.co.uk> - 2016-03-25 06:00 +0100
                Re: Sudo Curt <curty@free.fr> - 2016-03-25 11:30 +0100
              Re: Sudo Adam Wilson <moxalt@riseup.net> - 2016-04-03 20:40 +0200
                Re: Sudo Michael Milliman <michael.e.milliman@gmail.com> - 2016-04-04 16:00 +0200
  Re: Sudo Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-03-19 18:20 +0100
  Re: Sudo John Hasler <jhasler@newsguy.com> - 2016-03-19 18:40 +0100
  Re: Sudo Gene Heskett <gheskett@shentel.net> - 2016-03-19 19:50 +0100
  Re: Sudo <tomas@tuxteam.de> - 2016-03-19 22:50 +0100
    Re: Sudo Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-20 01:30 +0100
      Re: Sudo Ric Moore <wayward4now@gmail.com> - 2016-03-20 01:50 +0100
        Re: Sudo Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-20 02:00 +0100
          Re: Sudo Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-03-20 02:40 +0100
  Re: Sudo Jude DaShiell <jdashiel@panix.com> - 2016-03-21 06:00 +0100
    Re: Sudo Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-21 11:00 +0100
      Re: Sudo shawn wilson <ag4ve.us@gmail.com> - 2016-03-21 12:00 +0100

csiph-web