LinuxQuestions.org
Review your favorite Linux distribution.
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 01-04-2009, 02:08 AM   #1
markw10
Member
 
Registered: Oct 2006
Posts: 112

Rep: Reputation: 15
How to delete file logged on as root?


I use KPowerSave with KDE 3.5 on an MSI Wind using Mandriva 2009 PowerPack. I just set it up to Suspend to RAM when the lid is closed. The only problem is it gives an error when it comes out of sleep mode. I was told on another forum that I can simply ignore this and select okay but to get rid of this error message I need to get rid of the file, /usr/lib/pm-utils/sleep.d/06mysql.
The problem is I have to be logged in as root so I have been unable to do it from Konquerer. Also, I tried doing it from Konsole and log in as Super User but when I get into the directory with the file I use the rm command but it won't find the file. Any idea how I can delete this file. Also, would it cause any problems if I delete this file?
 
Old 01-04-2009, 02:18 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
cd /usr/lib/pm-utils/sleep.d/
ls -l

if it's not there you cannot delete it.
 
Old 01-05-2009, 09:37 AM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Open a terminal window (konsole in KDE) and become the root user (su + root password). At the command prompr enter the following command:

konqueror -profile 'File Management'

This should start the konqueror file manager as the root user. You should now be able to navigate to the file you want to delete and remove it.

HTH,
 
  


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
Using the 2nd CD: logged in as root@rescuedisc, change lilo.conf file or any files? jtp51 Slackware 3 11-02-2004 09:14 AM
KDE users - Having root file manager while still logged in as normal user thegeekster Linux - General 1 04-27-2004 10:47 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration