Results 1 to 6 of 6
Does Linux have a file manager program that I can run as su. This would make it easy to transfer files around when logged in as normal user and need ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-23-2006 #1
- Join Date
- Feb 2006
Run as admininstrator
- 02-23-2006 #2
What types of files are you moving around that you need access outside your home directory? It's generally bad practice to do everyday tasks (including logging into a GUI session) as root user. I would re-evaluate what you're doing first. Perhaps there's a way to do it without requiring access to the rest of your system?
Pretty much any program can be run in administrator mode while you're logged in as a regular user, you just have to open up your X Windows session to accept calls from other users. You do this by opening up a console window and typing:
Please note that I do NOT recommend you ever doing this. There are ways around most tasks that don't involve a root-privileged GUI program. You're opening yourself up to a lot of security and stability issues by running in X as root.Registered Linux user #270181
TechieMoe's Tech Rants
- 02-23-2006 #3
Are you using Gnome or KDE?
In KDE there is a superuser filemanager under KMenu -> System -> File Manager.
Or you can just launch the filemanager from the command line as root: i.e. do the following
su - konqueror &
But the better way of doing things would be to use the cp (copy) or mv (move) commands when logged in as root, the basic syntax is
command source destination
e.g. cp /home/alex/some_file /root/some_dir
if you want to copy directories, use the -R flag e.g. cp -R /home/alex/ /root i.e. copy my entire home directory into roots home directory.Life is complex, it has a real part and an imaginary part.
- 02-23-2006 #4
Although I'll side with the argument that if you're not a sysadm you shouldn't have to be running as root except in specific circumstances like system upgrades, software installation, and debugging some things like network, there is another option that's really handy for running a root GUI program in your current session - "sux". This is a shell script on SUSE that manages all the annoying permissions and such, and just lets you run an app as root. Enter "sux" in a shell, enter the root password, and whatever you run in that shell is running as root and has permissions to run in your current session. It's even useful if you want to run a root program on another system:
% sux Passwd:******** % ssh -X systemfoo
- 02-23-2006 #5
- Join Date
- Feb 2006
techieMoe- I have been dowloading new brushes etc for Gimp and these need to be placed in the correct directories, which I do not have write permission on. It is just a pain to change users to copy these files to the appropriate directories.
I know you guys do not like to hear this sort of stuff, and believe me I am a microsoft unbeliever, but in windows when I wanted to do this I would simply run the appropriate software as administrator (right click and enter password).
Alex, I am running Gnome. Thanks for your input.
- 02-28-2006 #6
- Join Date
- Oct 2005
working as an admin user.
The way I do this is as follows:
1. open a terminal window (put a shortcut on your desktop for this)
2. type su and hit return
3 type the admin password at the password prompt.
4. type Konqueror or the name of your favourite file browser in the
console window. Then you will be able to access everywhere. After you
have finished close the console window.