LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-06-2005, 12:14 AM   #1
braveerudite
LQ Newbie
 
Registered: Dec 2004
Location: Puerto Rico
Distribution: Knoppix
Posts: 12

Rep: Reputation: 0
Question 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.
 
Old 07-06-2005, 12:16 AM   #2
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
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.
 
Old 07-06-2005, 12:58 AM   #3
braveerudite
LQ Newbie
 
Registered: Dec 2004
Location: Puerto Rico
Distribution: Knoppix
Posts: 12

Original Poster
Rep: Reputation: 0
Thx

Im trying to avoid the terminal...Im looking for a right click method...simple and easy.... but thx
 
Old 07-06-2005, 01:08 AM   #4
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
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'.
 
Old 07-06-2005, 01:10 AM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
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.
 
Old 07-06-2005, 03:52 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
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 03:56 AM.
 
Old 07-06-2005, 05:23 AM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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.
 
Old 07-06-2005, 08:06 PM   #8
braveerudite
LQ Newbie
 
Registered: Dec 2004
Location: Puerto Rico
Distribution: Knoppix
Posts: 12

Original Poster
Rep: Reputation: 0
Talking Thx

Great I was able to config a few files I need to. Thx all
 
Old 02-13-2009, 10:31 AM   #9
caksin
Member
 
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47

Rep: Reputation: 16
Thanks

That is great! Thank you. (gksu nautilus)
 
Old 02-13-2009, 02:59 PM   #10
rguyler
LQ Newbie
 
Registered: Jul 2005
Location: in a hole
Distribution: Debian Sarge/Etch Servers; Ubuntu 8.10 on my notebook
Posts: 5

Rep: Reputation: 0
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
 
Old 02-13-2009, 04:15 PM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,135
Blog Entries: 52

Rep: Reputation: Disabled
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
 
Old 02-14-2009, 05:36 AM   #12
caksin
Member
 
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47

Rep: Reputation: 16
HMM

These are also very useful.
 
  


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
Open folders with spaces in the name via the CLI virtualme Linux - Newbie 3 02-08-2005 11:40 PM
how do you open new folders using terminal? two_faced_moon Linux - Newbie 2 07-08-2004 07:59 AM
GNOME can't open my Windows Folders!! TheShemeta Slackware 5 11-04-2003 02:26 AM
I can't open folders in KDE mvp Linux - Newbie 2 08-21-2003 02:01 AM
Desktop folders won't open Paul12 Linux - Newbie 0 07-20-2001 01:51 PM


All times are GMT -5. The time now is 11:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration