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


Groups > linux.debian.user > #165782

Re: Sudo

From Charlie Kravetz <cjk@teamcharliesangels.com>
Newsgroups linux.debian.user
Subject Re: Sudo
Date 2016-03-21 18:00 +0100
Message-ID <rfblo-8qY-7@gated-at.bofh.it> (permalink)
References (5 earlier) <reuT8-4he-3@gated-at.bofh.it> <reGUi-4dN-1@gated-at.bofh.it> <reZNg-ue-9@gated-at.bofh.it> <rf0zE-15e-7@gated-at.bofh.it> <rfaz0-86k-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 21 Mar 2016 11:00:13 -0500
Michael Milliman <michael.e.milliman@gmail.com> wrote:

>On 03/21/2016 12:22 AM, Wolf Halton wrote:
>> Sudo -i opens a session as root with environment as if you did su - 
>>  except your non-root admin user doesn't have to know the root password.  

That is incorrect. Anytime sudo is used, a password is required.
sudo -i does open a root session, after the password is entered. Of
course, you can set it up to NOT require a password for any user, but
that is not by default.


>Hmm...I wasn't aware of that particular switch....don't need su anymore 
>that way.  Next install may be su-less:-)
>> Wolf Halton
>> Atlanta Cloud Technology
>> Cybersecurity & Disaster Recovery Solutions
>> Mobile/Text 678-687-6104
>>
>> --
>> Sent from my iPhone. Creative word completion courtesy of Apple, Inc.
>>
>> On Mar 21, 2016, at 00:30, Michael Milliman 
>> <michael.e.milliman@gmail.com <mailto:michael.e.milliman@gmail.com>> 
>> wrote:
>>  
>>>
>>>
>>> On 03/20/2016 03:26 AM, Adam Wilson wrote:  
>>>> On Sat, 19 Mar 2016 19:30:57 +0000
>>>> Joe <joe@jretrading.com <mailto:joe@jretrading.com>> wrote:
>>>>  
>>>>> On Sat, 19 Mar 2016 19:57:56 +0100
>>>>> Sven Arvidsson <sa@whiz.se <mailto: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.
>>>
>>> -- 
>>> Mike
>>>  
>


- -- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJW8CFvAAoJEIqui46mydCAIwUH/juiGv6foQjtIoAhPgqyHUZy
0Gc7BEOcwZ2qOc9HKqTsIPVCABn62027tUaZXvAgj2aM5SjTQuWGuIBvVzGMFkWP
+JuTpZSU7gycOqvCsuE18qQ0yf6yF4VUc54Sr/3+tNqA/XDJHPv45/709BLor2Rj
oky89z7F5j/wm7LcBjfPokrGRY3H7DgU5R4MEJAsPbddJuM9wyIDu/E5ukPeVUSg
iGrNHr9+23PJ4Dz2MF31wGj84qwFfbFnhuIGGgoiiZCummH5QWzANdggYIP0bkEm
GeDT0v8cMqmEK8ndLmJoUkQ5BNF8ylspriUY2UhnjG26g0P3UkbbPbsAtTEkyuE=
=1vsB
-----END PGP SIGNATURE-----

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