LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-16-2005, 10:56 AM   #1
lazymanc
LQ Newbie
 
Registered: May 2005
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Launching file browser as root


Debian won't let me log in as root...

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.
 
Old 05-16-2005, 11:01 AM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Look for "FileManager - SuperUser mode" under , system - filesystem - other in the K menu. Not sure where it is in Gnome as I don't use it.
 
Old 05-16-2005, 11:10 AM   #3
lazymanc
LQ Newbie
 
Registered: May 2005
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
I'm using gnome, thanks for the quick reply though.
 
Old 05-16-2005, 03:53 PM   #4
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
From terminal do:
su -c "nautilus"

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

Last edited by yotamk; 05-16-2005 at 04:16 PM.
 
Old 05-18-2005, 03:25 PM   #5
dabang
Member
 
Registered: May 2005
Location: Germany
Distribution: sidux, Debian, Ubuntu
Posts: 30

Rep: Reputation: 15
another way would be using midnight-commander, something "inbetween" cli and "real" gui.

apt-get install mc

then in terminal type as root "mc" and you can easily delete files/dirctories/whatever.
but be careful...
 
Old 05-19-2005, 06:30 AM   #6
xukosky
Member
 
Registered: Apr 2005
Distribution: Becoming Sid
Posts: 142

Rep: Reputation: 16
Nonsense, give nautilus the suid bit and have the real fun like in windows.
 
Old 05-19-2005, 08:42 AM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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.
 
Old 05-19-2005, 03:11 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
Old 05-20-2005, 03:01 AM   #9
xukosky
Member
 
Registered: Apr 2005
Distribution: Becoming Sid
Posts: 142

Rep: Reputation: 16
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.
 
Old 05-20-2005, 03:22 AM   #10
mkoljack
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30
Enjoyable!

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.

I enjoyed your post.
 
Old 02-27-2017, 02:48 PM   #11
mr.Lauren
LQ Newbie
 
Registered: Feb 2017
Posts: 4

Rep: Reputation: Disabled
Launching file browser as root

Thank you Yotamk and Dabang for your comments!

Yotamk, you said:
Quote:
"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."
and Dabang, you said:
Quote:
"apt-get install mc

then in terminal type as root "mc" and you can easily delete files/dirctories/whatever.
but be careful... "
I was so frustrated with Debian 8.6 that I was thinking of going back to Windows after 15 years!! Another option was to keep access to old MEPIS which has root File Managers available. Debian 8.6 has removed access to any root File Managers, and it won't let me log in as root. I understand it is under the pretext that these options are DANGEROUS! But I also remember that years ago I read the warning that just an erroneous dot (.) or whatever at the command line could break your system! I felt that my freedom was being taken away.

So when I saw your suggestions this morning, I was skeptical because I noted that this discussion took place back in 2005, probably before Debian had any thoughts of blocking root usage in FM's. I was also surprised because I had tried the simple option of "su". But Low and Behold they worked! So I decided to register with Linux Questions and thank you. Thank you very much!
mr.Lauren
 
  


Reply



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
Error launching gnome apps as root: " Failed to contact configuration server" Kropotkin Fedora 1 12-16-2005 11:11 AM
Launching a program as root without using the terminal Crushing Belial Linux - Software 2 11-20-2005 10:38 PM
Auto-launching a file in Linux(Debian) on booting kushalkoolwal Programming 3 11-06-2005 06:46 PM
Launching apps under Root User Name MDBlueIce Linux - Software 2 08-20-2004 05:15 AM
Browser only works on root account MONA Slackware 8 04-30-2003 11:03 AM

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

All times are GMT -5. The time now is 02:16 AM.

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
Open Source Consulting | Domain Registration