Debian This forum is for the discussion of Debian Linux.
|
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-05-2005, 11:14 PM
|
#1
|
LQ Newbie
Registered: Dec 2004
Location: Puerto Rico
Distribution: Knoppix
Posts: 12
Rep:
|
How do I open folders as root...Plz help
I switch from Fedora to Debian... But Debian wont let me log in as root like Fedora . How can I open folders/files as root? I need to cofig a few system files plz help Im a noob and need some experiece user knowledge...Thx
A link or clear instructions plz.
|
|
|
07-05-2005, 11:16 PM
|
#2
|
Member
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139
Rep:
|
You can log in with your user account and at a command line type sudo or su to temporarily gain root status. You might want to look up the man pages for these.
|
|
|
07-05-2005, 11:58 PM
|
#3
|
LQ Newbie
Registered: Dec 2004
Location: Puerto Rico
Distribution: Knoppix
Posts: 12
Original Poster
Rep:
|
Thx
Im trying to avoid the terminal...Im looking for a right click method...simple and easy.... but thx
|
|
|
07-06-2005, 12:08 AM
|
#4
|
Member
Registered: Jun 2005
Distribution: Debian
Posts: 356
Rep:
|
Logging in with a full desktop as root is a bad idea and waste of time, you should use su or sudo. I believe you can use sudo to launch X apps so you can just run 'sudo gedit /etc/blah.conf'.
|
|
|
07-06-2005, 12:10 AM
|
#5
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
Are you running Gnome? You can type gksudo nautilus in the terminal and Nautilus (the file browser) will open up as root within your user login.
|
|
|
07-06-2005, 02:52 AM
|
#6
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,915
|
Alt+F2 then for KDE type kdesu konqueror
for Gnome type gksu nautilus
You can them browse and open the files with whatever text editor you use.
Sudo only works if you have the permissions in the sudousers file.It is more a MEPIS and Ubuntu thing, though I guess you could set it up and use it in Debian.Never used sudo myself.
Noone but me knows my root password, that way noone can screw with my system.
Try looking under your System menu (KDE) for File Manager Superuser. If you click it , you will be prompted for your root password then Konqueror will open as root. Browse and edit all you want.
Last edited by craigevil; 07-06-2005 at 02:56 AM.
|
|
|
07-06-2005, 04:23 AM
|
#7
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
Like craigevil said you can setup gksu. I haven't used kdesu myself so I don't know how that works. Gksu works with sudo though. So you'll probably have to go into the command line to use "visudo" to change the permissions.
|
|
|
07-06-2005, 07:06 PM
|
#8
|
LQ Newbie
Registered: Dec 2004
Location: Puerto Rico
Distribution: Knoppix
Posts: 12
Original Poster
Rep:
|
Thx
Great I was able to config a few files I need to. Thx all
|
|
|
02-13-2009, 09:31 AM
|
#9
|
Member
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47
Rep:
|
Thanks
That is great! Thank you. (gksu nautilus)
|
|
|
02-13-2009, 01:59 PM
|
#10
|
LQ Newbie
Registered: Jul 2005
Location: in a hole
Distribution: Debian Sarge/Etch Servers; Ubuntu 8.10 on my notebook
Posts: 5
Rep:
|
You can also add the following to the beginning of command field in the properties of any icon/shortcut on the desktop or panel: su-to-root -X -c
For example, to run the Konsole as root, this should be in the command field:
su-to-root -X -c /usr/bin/konsole
I like doing this when I have a lot of admin work to do in the CLI and don't feel like typing sudo all the time. ;-)
Rik
|
|
|
02-13-2009, 03:15 PM
|
#11
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
You could get nautilus-gksu, that adds an "Open as Administrator" entry to the right click context menu.
As root:
Code:
apt-get install nautilus-gksu
or:
Code:
aptitude install nautilus-gksu
|
|
|
02-14-2009, 04:36 AM
|
#12
|
Member
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47
Rep:
|
HMM
These are also very useful.
|
|
|
All times are GMT -5. The time now is 01:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|