Re: sudo su

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

 



On 05/27/2017 07:05 PM, Tom Horsley wrote:
On Sat, 27 May 2017 18:48:06 -0700
Joe Zeff wrote:

First, running sudo su is redundant if you know the root password, as I
presume you do.  (It's your system, you installed it and assigned the
root password.)  In fact, the only reason to use sudo at all is if you
don't know the root password, or you're running a distro that doesn't
normally have a root password.

Nope, completely myth, and here's why: "sudo su -l" is absolutely
the fastest and most efficient way to get a root login shell
where the PATH is set correctly to find the programs that root
needs to be able to run (at least it is the fastest way if your
user is setup to not require a password for sudo :-).

I always use "sudo -s" and I've never had a problem with paths.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux