On 04/26/2018 05:44 PM, Ed Greshko wrote:
On 04/27/18 08:29, Rick Stevens wrote:
> On 04/26/2018 12:54 PM, Samuel Sieb wrote:
>> On 04/26/2018 12:14 PM, stan wrote:
>>> On Thu, 26 Apr 2018 11:05:28 -0700
>>> Samuel Sieb <samuel(a)sieb.net> wrote:
>>>> I think the majority opinion now is that logging in as the root user
>>>> is discouraged. In almost all cases sudo is sufficient and if you
>>>> need to do root things for a while, just use "sudo -i". For
remote
>>>> access as root, use keys.
>>> I guess I hold the minority opinion, but that's OK. Linux is all about
>>> choice, and the more the better.
>> I'm curious what you find you need to use a root login for. I used to
>> use that all the time, but gradually I switched over and on my desktop
>> system, it is extremely rare that I use it. (I think only when the
>> graphical display is messed up and I have to switch to a console to fix
>> it.) The places I do use a root login are for remote admin, either
>> servers or remote laptops and computer that I administer. And in almost
>> all cases, the root account is accessed using ssh with keys, no passwords.
> You need to be root to install software (e.g. dnf), start processes that
> use network ports <= 1024, manage disks, mount remote filesystems and
> many, many other things an active sysadmin has to do.
Sam did say "root login". Yes you need to be running a process "as
root" which sudo
provides but you need not "login" as root to do what you've mentioned.
FWIW, I never have the need to login as root from the graphical interface. But I do,
at times, have the need to issue a series of commands from the command line as root.
In those cases sudo is cumbersome. So, I will use "su -". So, no matter what
the
default is I will be giving root a pw. :-) :-)
Yup, as do I. I typically have at least one terminal open on my desktop
that's used for CLI-based stuff--either root (via "su -") or as my
mortal (and utterly awesome and loveable) self. ;)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- If it's stupid and it works...it ain't stupid! -
----------------------------------------------------------------------