Re: Sudo but no su -

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

 



On 04/27/2018 07:26 AM, D&R wrote:
> On Fri, 27 Apr 2018 08:22:12 -0400
> Tom H <tomh0665@xxxxxxxxx> wrote:
> 
>> On Fri, Apr 27, 2018 at 5:03 AM, Bob Marcan <bob.marcan@xxxxxxxxx> wrote:
>>> On Thu, 26 Apr 2018 13:09:43 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:  
>>>> On 04/26/2018 01:03 PM, Joe Zeff wrote:  
>>>>> On 04/26/2018 12:54 PM, Samuel Sieb wrote:  
>>>>>>
>>>>>> I'm curious what you find you need to use a root login for.  
>>>>>
>>>>> If I need to do more than one or two things as root, it's easier to
>>>>> become root rather than type sudo over and over.  
>>>>
>>>> That's what "sudo -i" is for.  
>>>
>>> Or "sudo bash"  
>>
>> Sure, or
>>
>> sudo -s
>> sudo su
>> sudo su -l
>> sudo sh
>> sudo sh -l
>> sudo bash -l
>> ...
> 
> None of the sudo commands listed allow you to run a graphical program ie.
> meld. Is there some way to do that?

Not really since you're simply running a shell as another user. The user
you're sudoing to would need to have an active desktop session running
(where the "$DISPLAY" environment variable is set) or start a desktop
session to use graphic programs.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-              Never eat anything larger than your head              -
----------------------------------------------------------------------
_______________________________________________
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