Run as
Is there a way to run a GUI file manager as su or root? Alternativel, how do I del a whole directory and all its files and sub directories?
I'm using Fedora 11 Regards |
Open up a command prompt as root, cd to the directory above the directory you want to remove and rm -fr <name of directory you want to remove>.
Take care, though; making a mistake when running rm -fr as root has got many of us in trouble! |
If the directory and files you want to delete are in your home directory, use 'rm -rf /path/to/directory' to delete them (in a terminal). If you su to root, use the same command to delete an unwanted directory anywhere in the filesystem.
NOTE: Using su to delete directories outside your home directory is is very risky. Any mis-typed command could make the system unbootable. If you are using the KDE environment, 'kdesu konqueror' will open konqueror with root privileges. Be very careful deleting directories this way. Be sure you have a recent backup ready to restore. Any typo could cause you a lot of grief. |
su mc
sudo mc |
Assuming Gnome: Open a terminal, su -(su space dash), type nautilus and hit enter. You are now running as root with all it's powers(be careful).
Quote:
|
Quote:
|
I thought it was:
for Gnome: gksu or gksudo whatever. for KDE: kdesu or kdesudo whatever. |
All times are GMT -5. The time now is 03:02 PM. |