DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How do I launch the file browser as root? I can su in the console window but having to do everything via cli is starting to get tedious.
At the minute the restrictions imposed on my current user are stopping me from doing anything
I want to be able to delete stuff through the file browser without being told I don't have permission. If I delete something I shouldn't have it's my own stupid fault - its a single user machine so there's no one else to worry about.
Or create a desktop launcher with the command: "gksu -u root nautilus"
Dbl-Clicking it will prompt you for root password and than launch the file manager.
Having said that, I think you should really get used to using cli when ever something needs to be done as root. This creates a good separation between the user and root modes...you'll never forget "who you are" at any given moment
Logging in and running programs as root would be most unwise. It's better to use "su" or "sudo" or "gksu" or something similar that gives you only temporary root privileges. Also, it would be smart to make backups before editing or deleting important system files.
Some users may think that always logging in as root makes running Linux easier but actually it creates many problems because GNU/Linux is not meant to be used that way. Also solving such problems can be extremely difficult. Personally I hold the sinister view that users who create their own problems by constantly misusing the root account -- be the reason ignorance, carelessness or laziness -- are beyond anyone's help.
Last edited by Dead Parrot; 05-19-2005 at 09:23 PM.
I agree with DeadParrot - running as root should only be done in specific, limited situations (such as installing new software) but otherwise you should run as a regular user. If you are getting error messages due to permissions issues, my recommendation would be to take a few minutes to determine why the message is being generated rather than to do a brute force override. To say it another way, Linux doesn't throw error messages just for the heck of it, instead, there's some valid reason for it, and it would be worthwhile to determine what that reason is. Naturally, it's your system and you can use it whatever way you wish, however, I would suggest that it would be time well spent to deal with the cause rather than just the symptom. Good luck with it either way -- J.W.
I never log as root and nearly never use the suid bit (except for reboot and poweroff) and only use su when really necessary, but I agree with lazymanc when he says "If I delete something I shouldn't have it's my own stupid fault".
Who am I for saying people what they should or shouldn't do? I like Linux because it allows me to do everything I want to do, if I want to disable cd autolaunch I can do it (I continue waiting for someone telling me how this can really be done in windows xp because if you tell him "don't do anything when I insert a cd" it continues reading it trying to know it's contents and with a bad cd reader it's a nightmare) and if I want to use a window manager other than kde or gnome I can do it and if I want to be able to manage my files with complete freedom I can do it, so give nautilus the suid bit and do all you want to do.
Maybe one day he'll damage his information and will understand why such things should'n be done or maybe not, but nobody will die in the try.
Ya know xukosky, I only came across this post through aKregator and I am appreciative of your humor. You're right, we can do anything in Linux and that includes break things. I've only been at this for 6 months and I have broken so many things, which is how I have learned the most.
Finally, I have learned to do everything as user unless it's a systemwide change. In those cases I have grown to love Midnight Commander. Anyway, I'm just wasting time.