Re: Sudo but no su -

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

 



On 04/27/18 11:15, Samuel Sieb wrote:
> On 04/26/2018 05:44 PM, Ed Greshko wrote:
>> 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.  :-) :-)
>
> I have mentioned the "sudo -i" command several times in this thread, but I'm
> wondering if it's not clear what that does.  It asks for your user password and
> gives you a full root shell.  You don't need to type "sudo" for every command and
> no need for a root password.  "su -" and "sudo -i" have the same result, but the
> first one asks for the root password and the second one asks for your user password.
>

I'll confess to not having read the entire thread.  My "defense" is that I just
returned from a long trip. 

Thanks for the tip of "-i".  Sometimes habits make you blind to other methods.

-- 
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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