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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to