LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-15-2007, 09:01 AM   #1
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Rep: Reputation: 30
How to view some files permitteed to only root in GUI mode ?


I have try to view some restricted only to root but it display an error message which is you have no permission to view this files. Therefore, i can't edit the file. As a result, i post this topic in order to find out a solution. I have successful view the file but can't edit it. I typed less filename to view the file but i don't know what command to edit a file.


Your help is greatly appreciated by me.


Thanks for your help.

Your help is more value than billion cash.
 
Old 02-15-2007, 03:36 PM   #2
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
It is not hard to open a file for editing as root in the GUI. For this explanation I will show how to edit the file /etc/lilo.conf.

Open a terminal window and su to root. Enter the following:

kwrite /etc/lilo.conf

Your lilo configuration file will open in kwrite. You will be able to make changes to it and save the changes. To edit any other file replace '/etc/lilo.conf' with the name (including path to file) of the file you want to edit.

Or if you want to use the CLI, install the mc package then as root enter 'mc' at the command prompt. Midnight Commander will start. Navigate to the file you want to edit and press the F4 key. The file under the highlight will be opened in a text editor. You can save your changes with the F2 key and exit the editor with the F10 key. When you are done with Midnight Commander, you can exit it with the F10 key.

HTH,

Last edited by ernie; 02-15-2007 at 03:44 PM.
 
Old 02-18-2007, 02:59 AM   #3
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Original Poster
Rep: Reputation: 30
Hello ernie, such a nice you are. I feel you are good persons in the world. Anyway, thanks for your help.

Do you have MSN ID ? In future, we can communicate with each others.

My MSN ID is peter_wkc_20@hotmail.com .


Bye-Bye.
 
Old 02-18-2007, 03:09 AM   #4
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Original Poster
Rep: Reputation: 30
I don't know how to express my feeling right now but i very appreciate your help.
 
Old 02-23-2007, 03:47 AM   #5
Richie55
Member
 
Registered: Nov 2004
Location: UK
Distribution: Mandriva 2010.1
Posts: 128

Rep: Reputation: 15
Hi, if you want to see the files konqueror as root,

go to te K menu then run and type

kdesu konqueror
 
Old 02-25-2007, 12:34 AM   #6
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Original Poster
Rep: Reputation: 30
Thanks for your help. You all are my GOD. I will remember you all forever.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem deleted all files in /tmp as root and can't start fedora 5 in Graphic mode meelmaar Linux - General 3 08-22-2006 03:33 AM
KDE Konqueror View Mode Icons (Image Preview/Tree View) sadarax Linux - General 7 06-27-2006 01:45 PM
suse 9.3 root cannot login in GUI mode morph_ind Suse/Novell 11 05-15-2006 02:15 AM
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 04:41 PM
hoe to view pdf files in command mode. bruse Linux - Newbie 7 09-15-2005 11:03 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration