Root is the superuser of Ubuntu. Questions about the / or /root folder are better suited for the "filesystem" tag.

learn more… | top users | synonyms

2
votes
3answers
4k views

Cannot remove file from trash that was put there as root

I know about the dangers of using root access so please forego the lectures. I try to be careful and will be doubly so from now on. I was using the file browser with root access in order to change ...
2
votes
1answer
1k views

Block a command from sudo user

I don't need an administrator to change my root password. I don't want any sudo user to execute this command: sudo passwd $root I have tried it in the sudoers file using the following command: ...
2
votes
1answer
317 views

Why does the “who” command not show “root” as a logged in user?

When I log in as root from gnome-terminal using the command: sudo su it logs me in as the root user. Isn't this switching a user considered as a log in? Also, which command can show me all the ...
2
votes
3answers
3k views

How to access a folder as root?

I want to open a folder in desktop as root and install .jar file in that folder. I have a ".jar" file in desktop that I need to open it as root user but I want to copy that file into a folder in ...
2
votes
3answers
838 views

Ways to run Nautilus with elevated privileges [duplicate]

What are the differences between the following ways to run Nautilus with elevated privileges: a) sudo nautilus b) gksu nautilus c) gksudo nautilus Which should I use?
2
votes
1answer
964 views

how to declare that you have full superuser permissions when prompted on terminal?

I am a very basic Ubuntu user. Everytime I am trying the terminal, I receive the following question and I do not know how to answer: Do you have full superuser (root) permissions? I want to configure ...
2
votes
2answers
2k views

Why the value of $PATH is different for root and normal user?

for normal user I get : /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/monty/google_appengine which is actually the ...
2
votes
4answers
8k views

I can't su as root, my account type is admin BUT am I root? [duplicate]

Possible Duplicate: su command + authentication failure i installed ubuntu successfully, but then i tried "su" on terminal and entered my password, authentication failed! and I don't think ...
2
votes
3answers
836 views

Cannot find /usr/bin/ in nautilus

I'm trying to get the program "Desktop Drapes" to run on startup, and so far the only guide that's gotten me anywhere is this one: http://ubuntuforums.org/showthread.php?p=8810911#post8810911 Things ...
2
votes
1answer
1k views

Ubuntu 11.10 with KDE installed does not prompt for elevation for privileged ops in all apps

I installed the KDE window manager on top of Ubuntu 11.10 and while I am using KDE, I do not get an elevation dialog when I try to perform tasks that require root privileges. Instead, the operations ...
2
votes
2answers
129 views

How to change file permissions and then revert them back

I have a Wordpress website on my Ubuntu Server, and in order to change the theme, I need to set the file permissions. As I have read, it is unwise to permanently set the permissions to write for ...
2
votes
1answer
332 views

“gedit” does not launch as root: “CRITICAL: file log.c …”-error (no gksu problem!)

I am running Ubuntu 14.10 with XFCE. Since a few weeks, gedit is not launching any more as root (with gksu gedit). Launching with my normal account works without problems. The problem is not gksu, ...
2
votes
1answer
1k views

sshfs You do not have the permissions necessary to view the contents of mounted directory

Hello I am pretty new to using sshfs and I can view my mounted directory when I use root under the terminal. I do this by using sudo -i Then I can navigate to my mounted directory and view my ...
2
votes
1answer
183 views

Default resource cap on root user

I happened to see that on my Ubuntu 12.04 some resources of the root user is capped. I have not capped anything explicitly and my limits.conf as far as root user is concerned is empty. Here is the ...
2
votes
2answers
422 views

What is meant by “no password set” for root account (and otthers)?

Several years back, we were more accustomed to changing to the root account using the su command. First, we switched to the root account, and then executed those root commands. Now we are more ...
2
votes
4answers
5k views

Root password needed

When I first installed Ubuntu 13.04 from a USB stick I was asked to fill in for user username and password so I set one on my own. When I run Ubuntu I click log in but it automatically logs me in as ...
2
votes
2answers
7k views

Ubuntu sudo not working

I wanted to move a file to a /usr/python2.7/ but i was unable to do so, so i changed the permissions of /usr to myuser: sudo chown -R ***** /usr it worked but i realised it was a blunder when sudo ...
2
votes
3answers
5k views

Could not display “/media/…”.The location is not a folder

i have installed ubuntu 12.10 (64 bit) beside my windows 7(64 bit) via wubi.i have just increased the size of root.disk via wubi manual but when i log into ubuntu i can not mount my windows ntfs ...
2
votes
2answers
633 views

How to reset configuration for Compiz for another user?

After modify something in cssm the display manager in MyPersonalAccount doesn't work. So I login in my root account and it is fine but I want to reset the Compiz configuration of MyPersonalAccount to ...
2
votes
1answer
10k views

Thunar custom action to open folder as root

Thunar has an option to add context menu custom actions to open Terminal, or to open folders and files in different applications. Could it be possible to add a menu custom action that would open ...
2
votes
2answers
1k views

How can I backup files on /etc using Deja Dup? [duplicate]

Possible Duplicate: How do I open Deja Dup as root? I am using Ubuntu 12.04 LTS. I'm trying to setup Deja Dup to backup the files for several users (/home) and /etc but as it runs as ...
2
votes
4answers
59k views

How do I gain Root privileges?

How do I gain Root privileges in Ubuntu Desktop 12.04? I installed to a usb stick to try it out. Now when I installed it on a VM, I don't have the same options as I did on the usb stick. Such as ...
2
votes
1answer
4k views

How do I start Tomcat on boot without having to provide a root password?

I have Tomcat set up to launch at start up on my Ubuntu box. Trouble is, I have to manually supply a root password on each boot. Is it possible for this to be automated? Do I just supply an command ...
2
votes
2answers
4k views

How to change the permission of my internal cd/dvd drive?

I decided to build my own gui (ubuntu server, openbox and stuff). I am having a permissions problem with my cd drive. When I try to mount it with user privileges it tells me that I'm not allowed. I ...
2
votes
1answer
2k views

Ubuntu LiveCD,editing xorg.conf

someone has edited wrongly my xorg.conf file in /etc/x11/xorg.conf and so my computer wont show anything,just a blank screen.I want to be able to edit the xorg.conf file and delete all the changes ...
2
votes
1answer
183 views

Does Ubuntu Live session write anything on the primary partition

Here is the situation.I am a duel windows ans ubuntu user. Accidentally I formatted the C partition(root partition of windows). Now I ran several live ubuntu sessions from CD. And found a way to ...
2
votes
1answer
18 views

By default, who is allowed to gain root privileges with pkexec?

I learned today that one can use pkexec from the command line, in a manner similar to sudo, to execute programs with root privileges. I am curious how pkexec decides who is allowed to do this. The ...
2
votes
1answer
221 views

Rezising Linux Partition which contains the ubuntu OS in 14.04 LTS

I was trying to extend my / partition using ubuntu live cd after installation done before 6 months. For installing a software i needed 9GB more space in my root partition. The size of the root ...
2
votes
1answer
257 views

notify-send does not work with root on Ubuntu 14.04

I have a small python script that I start it using a shell script stored in "/etc/X11/Xsession.d" The code is very simple it show a notification message import os import time while True: ...
2
votes
1answer
279 views

How do I reset or recover my root password?

I have forgotten my root password after changing it. Is there a way to recover or reset it. I really do not want to reinstall Ubuntu again.
2
votes
1answer
1k views

sudo asks for root password but expects user in sudoers?

I have the root account enabled. I have degraded the user (say kenneth) to a standard account and I have set the Defaults rootpw flag in sudoers. When I use sudo it correctly prompt for root ...
2
votes
1answer
399 views

Drop to root shell (security vulnerability?) [duplicate]

I've known about the ability to drop to a root shell for quite a while. You just hold shift and select (recovery mode) from the list of kernels presented. I would mess up an install, then drop to ...
2
votes
1answer
5k views

How to configure SFTP to login in the “/” directory?

I want to login as root and make the / as the default directory in SFTP. Newbie help needed
2
votes
2answers
6k views

How to get list of user accounts and access through root in Ubuntu terminal?

I am using Ubuntu 13.04 and there are 5 users for the machine. I have the root password and I want to see the list of users and access the account through root in terminal. How can I do this ?
2
votes
1answer
975 views

Shared library not loading. Loading only under root

I have an executable that requires a shared library that resides in /opt/... folder. I have included the path in LD_LIBRARY_PATH under /etc/environment and updated it using source /etc/environment. ...
2
votes
1answer
519 views

Suddenly, I Can't login with correct password (greeter & tty)

This might be a duplicate of other password related questions but it's somehow eccentric. I have three accounts in my Ubuntu 12.10 system (one standard and two administrators). One of the ...
2
votes
1answer
133 views

Where did this “nonexistant” directory come from and what should I do with it?

It's owned by 'nobody' and I'm wondering if it could explain difficulty I'm having in shutting down. drwxr-xr-x 2 root root 4.0K Nov 28 09:59 bin drwxr-xr-x 4 root root 4.0K Jan 16 08:28 ...
2
votes
1answer
2k views

accidently blocked access to sudoers.d whilst trying to change ushare config

Basically was trying to change the ushare config and needed permissions for some reason so, I changed with sudo -i and in the process did somthing and now I can't access superuser to change any of the ...
2
votes
1answer
621 views

ssh as root to a ubuntu server

My public key was recently added to a ubuntu server so that I can remotely log in as root. However, when I log in as root. I cant do some simple tasks like mkdir . Is there something I am missing ...
2
votes
1answer
785 views

Root Script Execution at Non-Root User LogIn/LogOut

A script that requires root privileges needs to be executed when a non-root privileged user signs in/out. How do I handle this?
2
votes
1answer
1k views

Setup auto login and now I do not have root authorization for anything

I am the sole user of my computer so I use my root user name for everything. I am tired of logging in all the time and entering a keyring so I was hoping that creating an automatic login would resolve ...
2
votes
1answer
953 views

Folder browser: Copy to restricted locations?

Can I launch the folder browser as root so I can copy files to restricted locations?
2
votes
2answers
501 views

How do I allow regular users to install printers?

I'm configuring a 10.10 machine for deployment in an organization with Likewise Open and Active Directory, and I need to know if Ubuntu can allow users to install printers automatically. I tested and ...
2
votes
2answers
3k views

Making file in user's homedir accessible from web/webserver

I have a txt-file one of my user's homedir which is regularly updated there by a script. I now want to be able to access (read) this file from the web. /home/user/folder/file.txt So what I tried ...
2
votes
1answer
43 views

Employee left blank password on Ubuntu 15 graphic install [closed]

My boss wants a blank password on the desktop running the Ubuntu 15.04. The system logs me into the account directly but whenever I try to sudo command anything and it asks for the password, leaving ...
2
votes
2answers
279 views

root password on meizu mx4 ubuntu edition

I just got this brand new phone from Meizu, and immediately after unboxing it, tried to open a terminal, and failed to go to root! Is there any default root password? I sucessfully changed the ...
2
votes
3answers
183 views

Disk space issue after apt-get update

I did a system update with sudo apt-get update and rebooted. After the reboot an error came up showing that i'm out of disk space. was barly able to access my desktop. I checked the space util and ...
2
votes
1answer
477 views

Opencv commands are needed to be called as root using 'sudo', otherwise shows error

When I enter into my Opencv project directory and do the following command- sudo cmake . sudo make it generates make files without any error and the program runs successfully. But when I do cmake ...
2
votes
1answer
178 views

Ubuntu no longer prompts for root privilege (but doesn't give it either)

So on 14.04 LTS I was playing around with some settings to solve another problem, and somehow managed to screw things up and now Ubuntu no longer asks for root privileges before trying to perform ...
2
votes
3answers
265 views

how to block a command from terminal?

I don't want any users in my machine to use a command in my machine other than root user. The command is given below. "sudo -E su" For security reasons