Re: Clams.....

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

 



On 9/9/2012 9:02 PM, Roger wrote:
> On 09/10/2012 10:29 AM, Eddie G. O'Connor Jr. wrote:
>> On 09/09/2012 08:26 PM, Doug wrote:
>>>
>>>>>> Just become root (su -) and edit the file.
>>>>>>
>>>>>>
>>>>> Several folks have answered this:  you have to access the editor
>>>>> from the command line.  Even if it's a GUI editor. So if you want to
>>>>> use gedit, or Kate, you'd have to go to a terminal, and become root,
>>>>> either by su > password > Kate, or sudo Kate.  Then find and open
>>>>> the file and edit it, and save it.It should save OK, since you were
>>>>> running in root.
>>>>>
>>>>> --doug
>>>>>
>>>> As a matter of curiosity, have you set up sudo?
>>>> sudo allows one to perform certain root commands as if root.
>>>> Once set up, the command sudo gedit /etc/filename would ask for the
>>>> user password and grant root access to edit the file.
>>>>
>>>> Roger
>>>>
>>> You are correct, Roger, but some distros do not include sudo (and
>>> sudoers and visudo) in their regular repos.  I believe that
>>> this is unfortunate, and it may be possible to suss out a way to
>>> obtain them then, but it is necessary for some users to
>>> know the su system of using root capability.  (I am forbidden by the
>>> purveyors of the distro I use from going into any
>>> greater detail.)
>>>
>>> --doug
>>>
>> After "thumbing" through the guide I was so graciously directed to by
>> Doug, I was able to accomplish everything I needed done....I'm right
>> now sitting down with a steaming mug of coffee, and I'm about a fourth
>> of the way through Chapter 4....interesting reading indeed!...
>>
>> EGO II
> That's interesting, I did not know that some distros don't include sudo,
> etc. I do agree that being root is a good thing at times, but is fraught
> with dangers galore for the unwary. I can understand why they don't want
> it public knowledge, youch!
> Roger



Honest folks.

Open a terminal when logged in as 'you'.

type su - <enter>

at the password prompt enter the root's password and press <enter>

your terminal is now root's terminal with root's environment.

do your thing.

Why are you trying to make such simple things so complicated?



-- 

  David
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[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