In maverick, I made a menu shortcut to be able to run nautilus as root (gksu nautilus), when I need to (for example, to clean the /var/apt/archives or anything like that).When I used this in intrepid, karmic or lucid, this worked fine.In maverick, when I do so, I always afterwards have the gnome desktop of root and still the rights of root outside nautilus. I have to logoff and re-login as my user to see my personal background and gnome environment again.
want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.
Is suid disabled from running all home made bash scripts or just from running them as root or:
Who would know for sure.
I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.
i just turned my computer on a few minutes ago (turned it off due to a storm), and immediately noticed my desktop icons were gone. so i went to places>desktop, and nautilus failed (and continues to fail) to open. i simply see a waiting cursor and a window tab saying "opening Desktop", and nothing happens. i checked system monitor, and nautilus is running, and its not listed as being unresponsive. when running from the terminal, i get no errors or anything, it just doesnt run. i did see that when i turned on my computer, i got a splash screen saying it was checking my discs for errors, but it only took about 15 seconds and didnt find any errors. also, right clicking on my desktop doesnt do anything, either. not sure what happened.
Two screenshots are attached. On my laptop (a Toshiba Satellite A105) when I open nautilus as root the window that opens is screwed up. If I type [code] "gksudo nautilus" at a terminal prompt, screenshot-1 is what I see. Screenshot-1.png
The title bar has the word "root" instead of "root - File Browser" as it should be. There is no main toolbar, location bar, and no side bar. The next line beneath the title bar shows File, Edit, View, Places, Help instead of File, Edit, View, Go, Bookmarks, Help. If I click on View there are no checkboxes for Main Toolbar, Side Pane, Location Bar, and Status Bar. If I click on anything and then slightly move my mouse the nautilus window immediately closes. Therefore, I can't use nautilus at all to do anything.
This strange behavior only happens when I open nautilus as root. If I open nautilus normally, there are no problems. Screenshot-2 shows the window that opens if I run nautilus as root on my desktop computer. Screenshot-2.png
I recently installed nautilus-actions for adding things to the right click menu this shows the Nautilus Actions Configuration in system->preferences but when i click it nothing happens.
I then try to run it from the terminal by running the "nautilus-actions-config-tool " command it returns
On Linux Mint, there is this theme called WildMint, looks somewhat like an older Ubuntu Studio theme. Anyway, I have been trying to find how to get it to work on Ubuntu instead of Mint. It is nowhere to be found on Gnome-Look and I've tried to search everywhere for it. Also, I've tried just copying the folder from /usr/share/themes but I just get errors even when running Nautilus under gksudo.
I was trying to put a theme directory in /usr/share/themes but when i try to open nautilus as root from the terminal it doesnt open?Is there a way to open nautilus as root? Because i must be root to put the directory in /usr/share/themes tho.
I have recently secured a server by preventing root from logging in via SSH. Now I log in with a non-root account and use 'su' when necessary.However, now I can't do something I used to do, which is open 'sftp://user@ipaddress' in nautilus and be able to edit files as root. Is there anyway to get nautilus to give me root permissions on the server? Or at least end up with root permissions in a GUI text editor on my computer? I don't mind if I have to use bash to start the process, once I can get a GUI for editing files.
Note 1: Yes, I realize I could ssh in and use nano/vi etc, but I'd rather use my graphical text editor. Note 2: The server does not run X, so I can't just forward it.
I am not able to run nautilus as a root userA error message saying - Could not parse arguments. Cannot open displayHow do i find which version is my gnome??
Gnome version 2.28.1 with kernel 2.6.31-14 on an Ubuntu 9.10 Karmic box.I'm wondering how usb drives, etc get automounted in gnome now days. Thought it might be fusermount, but no.Gnome-mount is not installed. Perhaps it is via AL or udev, but what commands control it? I've found posts that talk about using gnome-mount, but these are outdated as this package isn't even installed by default anymore.I would like to unmount certain volumes via the command line, but without having root privileges as gnome is doing by clicking in nautilus. I would like to do the equivalent from the command line.
Are there any command lines commands that will allow me to do this (not talking about pmount which is not installed)?Also, is there a way to prevent automounting of just certain devices, but not all? I have a USB with 7 different things on it (a "built-in" CD for some reason for windoz users, the original NTFS, and 5 linux partitions). I really only want one of the linux partitions (an XFS for DVD isos) to automount but not all the others. I would like not to have to disable ALL automounting as in: Code:
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
I have an external usb hard drive that spins down every 10 min. The commands in 'hdparm' do nothing to override the internal settings. So, I wrote a script to touch a file every 5 minutes, and it will run as root because of the mount command, and I want it to run for every user. The script is executable, owned by root, and root is the group, with 755 permissions.
no_sleep.sh in /usr/sbin:
Code: #!/bin/bash # Script to keep external drive from spinning down diskmounted=$(mount | grep Backup | wc -c)
I like cleaning up my install with Bleachbit. I see that when you install it, it also install Bleachbit as root. What is the difference between this and the user version and is it safe to use it as root? I am assuming it cleans up stuff on a deeper level but have always wondered about how safe it would be to use.
I've been searching the web on this, followed up hints and tips (e.g. URL...) but with no results.I'm running Ubuntu 9.10 on 3 disk configuration: 1: 80GB SSD running root with /home mounted to the next disk 2: 250GB HDD where /home lives 3: 250GB backup of disk 2
My system is complaining since just now with:The volume "file system root' has only 640MB od disk space left
I just installed Wine (1.1.3* dev release) and installed Notepad++ (OSS) and Net Meter (Freeware, the latest beta is actually OSS too). I also intend to install a few other things later. The only failure so far is the latest WinSCP So it made me wonder about what running a process/software as "root" actually means. When I use U.S.C or 'apt-get install' to install software on my computer, and type my password, it displays that keyring icon on my systray.
Does this mean I am root at that moment? And how about running wine, the wine processes, and any windows *.exe I'm installing and running? I basically am afraid that I am running all the wine-related stuff as root, even though there is no indication that I at least have elevated privileges. What is/are the worst-case scenario(s) about wine?
I'm running behind a 2wire NAT Router with only have smtp, www, pop3 open routing to my ubuntu VM server. Network also includes three other ubuntu VM server's and a Desktop. I'm the only one on the network so my question is, what security risk is there running WireShark as root? Because running it under dumpcap is horrible after you quit. It hogs up all the resource to remove the dump.
KDE panels look strange with black colors when I login using root account.Is it possible to make KDE look normal? I am using root account because I spend most of the time performing administration tasks and I don't want to type my strong password so frequently.
I am trying to run my script at startup but it doesn't run the script as root. Do I need to add my root username and password in the script, or somewhere else?
So you have to run wireshark as root too see the interfaces which I'm ok with but a message says that this is dangerous. I am just wondering WHY this is dangerous? I mean I know sudo gives complete read write access to the system but what I am wondering is why is that BAD for wireshark? What could potentially happen? Can someone expand on this?
Code: #!/bin/sh echo "Minutes to shutdown after:" read input_variable
[Code]....
i wanted it to open a terminal with root access but i cant see mto get it to open and prompt for a password gksu gnome-terminal -x sh /path/to/script.sh
I have some software that I need to run as root, I know I can open a terminal and su etc. if I was going to stay there to control it, that would be fine, but as the software is graphical, I would like to click it's icon, be prompted for the root password, then have it start.
I'd like to run my Apache start-up script under my own userid and not have to su over to root each time in order to run it. But if I run the script as myself I get errors on the "/usr/local/apache2/bin/apachectl start" portion (which is the 'main' purpose of the script):
(13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs
I don't care to waste anymore time just now, or spend anymore energy just now trying to resolve *those* problems. The script works fine when I execute it logged in as root (su). I've changed the permissions to 4777 so that *me* running the script that is executed *as root* should work:
ls -l apache_up.sh -rwsrwxrwx. 1 matt matt 1114 Jul 22 16:42 apache_up.sh But it still gives the above errors. I thought changing the sticky bit would work. How do I run this script myself and have it execute the "/usr/local/apache2/bin/apachectl start" command - so that I don't have to su each time?
There is a very simple method to Run TeamViewer as a "root". This can be risky but if any users wants to running TeamViewer 5 and 6 As root then I have written a small article for the same. Requesting you to visit article and let me have some feedback or whatever comments you feel. read this article :- http://blog.ask4itsolutions.com/2011...tu-rhel-cento/ This practical performed on Red Hat Enterprise Linux 5.x, Ubuntu Desktop Edition, Fedora and CentOS