LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2003, 11:10 AM   #1
eixem
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
SU File Manager


I was wondering if there is a SU File Manager out there that I can use in RedHat-9. When I was using ManDrake one was installed with the OS. I got used to using it but now that I have RH if I want to use a graphical file manager with root permissions I have to login to my root account. Of course there is always the terminal but its nice to have both options. Any recommendations?
 
Old 05-25-2003, 11:29 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just run this from a terminal:
su - root -c nautilus
 
Old 05-25-2003, 01:39 PM   #3
eixem
LQ Newbie
 
Registered: May 2003
Posts: 27

Original Poster
Rep: Reputation: 15
wicked... thanx man. I'll be memorizing that one for sure. After I tried the command it changed my desktop wallpaper to the one I use with my root login. Not sure if that is whats supposed to happen but its no big deal I can just switch the one in my root account. Thanks again.
 
Old 05-25-2003, 01:41 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Remember that it can be dangerous using a gui with root privilages - it is MUCH easier to delete files.
 
Old 05-25-2003, 04:29 PM   #5
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
In RH KDE, just open the panel (startmenu... ;-) ), go to system and choose File Manager - Super User mode...
 
Old 05-25-2003, 06:01 PM   #6
eixem
LQ Newbie
 
Registered: May 2003
Posts: 27

Original Poster
Rep: Reputation: 15
I'll keep that in mind Satriani if I ever decide to use KDE as my default desktop. Currently I use Gnome which has certain features that I enjoy. But thanx for the tip.

>Remember that it can be dangerous using a gui with root privilages - it is MUCH easier to delete files<

While we are on the subject.. where does Linux keep all of the critical system data? Microsoft for instance has the c:\windows as a main directory. Does linux have a similar directory or is it more complex then that?
 
Old 05-25-2003, 09:30 PM   #7
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Hi,

You can also do "kdesu konqueror" (or other File Manager such as nautilus of Midnight Commander) if you have KDE installed. You can do this from Gnome, Window Maker, etc.

As for critical files... They are scattered about, depending on what you consider critical. Most binaries are in:
/bin
/usr/bin
/usr/sbin
/usr/local/bin
/usr/local/sbin
/usr/bin/X11
/usr/X11R6/bin
/home/[username]/bin

and /sbin <-- where most "dangerous" binaries live like mkfs, fdisk, killall5, etc. They are only dangerous like a nail gun is dangerous. Perfectly safe if you know what you are doing and pay attention. That's not to say you couldn't reek havoc with other utilities. nice, mail, chown, mount, umount all live in /bin but can cause problems if misused. Like a hammer.

/dev contains "devices" like ports, drives, etc. Deleting these can also screw you up pretty good.

Check out your environment variables by running env in a bash shell and you will see your path.
 
Old 05-26-2003, 05:10 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Won't kdesu <program> work only with KDE?

Also, as I use KDE, I usually type kdesu <program> & to be rid of one window, or, using a terminal, so as not to freeze the prompt.
 
Old 05-26-2003, 06:48 AM   #9
Nerd2
Member
 
Registered: Apr 2003
Location: Brissle, England
Posts: 97

Rep: Reputation: 19
Sorry to interupt on this thread, but why does linux have so many bin directories.

i.e. what is the difference between:
/(s)bin
/usr/(s)bin
/usr/local/(s)bin

It makes it more difficult than it should surely to find programs
 
Old 05-26-2003, 07:01 AM   #10
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Nerd2
Sorry to interupt on this thread
No, that's called highjacking
 
Old 05-26-2003, 08:27 AM   #11
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Quote:
Originally posted by JZL240I-U
Won't kdesu <program> work only with KDE?

Also, as I use KDE, I usually type kdesu <program> & to be rid of one window, or, using a terminal, so as not to freeze the prompt.
If KDE is installed, you can use kdesu in any desktop (at least all of those I have tried; gnome, WM, Sawfish, etc). True, the & will not freeze the prompt, I was thinking of right clicking in Window Maker (my primary desktop), select run from the menu and enter kdesu [whatever] which doesn't spawn a (visible) shell and hang the prompt.


To Nerd2:

Not sure why they are scattered. That would be a good question for Linus... Probably because UNIX is based that way.

To find where a binary lives, from a shell, type which [command-goes-here]. IE: which chown will return /bin/chown (at least in RH anyway). Of course you have to have rights to the file and it has to be in your path (either explicit or inherited).
 
Old 05-26-2003, 08:35 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally posted by TheOther1
If KDE is installed, you can use kdesu in any desktop
...
Thanks, nice to know.

Quote:
Originally posted by TheOther1
To Nerd2:
To find where a binary lives, from a shell, type which [command-goes-here]...
I prefer updatedb [once] and from then on locate. That's really fast, since it works from a database (which has to be maintained / updated periodically, usually by a cron job).

Last edited by JZL240I-U; 05-26-2003 at 08:37 AM.
 
Old 05-27-2003, 10:57 AM   #13
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Nerd2:

The binaries are divided into four different types

The /sbin directory usually contain all "administrative" commands that are related to the system itself. (i.e. shutdown, fsck, lilo.....)

The /bin directory contains all other system-commands. (ie grep, touch, mkdir)


The /usr/sbin usually contains administrative commands for system-programs installed (useradd, groupadd etc....)

Then the /usr/bin contains all other commands.

To make it really easy, just think of the sbin directories as the directories especially for super-users...

(The above is not completely true, but it gives a nice view of the way it's setup. I think all these directories are setup this way so security is easier setup)

Also, Eixem: all are talking bout these dirs, but if I were you, I'd be very carefull in your /etc directory... This is were a lot of configuration files are...

If anyone can explain it better then me, please do so, I'm still a bit of a newbie....
 
Old 05-27-2003, 01:48 PM   #14
Nerd2
Member
 
Registered: Apr 2003
Location: Brissle, England
Posts: 97

Rep: Reputation: 19
Thanks Satriani, that helped me some.
 
  


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
The right File Manager for me? mugendai Linux - Newbie 4 04-11-2005 01:58 PM
No File manager bowen199 Linux - Newbie 1 09-16-2004 05:33 PM
[Gentoo file manager] Install RPM from the file manager? Coume Linux - Software 2 12-10-2003 02:21 AM
File Manager Nik Linux - Software 9 10-23-2003 03:00 PM
file manager killi Linux - Software 3 05-17-2003 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:09 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