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

learn more… | top users | synonyms

72
votes
17answers
12k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
44
votes
9answers
19k views

What is the difference between “gksudo nautilus” and “sudo nautilus”?

I've been using gksudo nautilus and sudo nautilus through Alt+F2. What's the difference? They look very similar!
19
votes
8answers
47k views

How do I recover my root password?

I'm trying to install the NetBeans IDE in my Ubuntu and in the process it's asking for my root password which I don't remember. I know my sudo user password. How can I recover my root password?
18
votes
2answers
23k views

How do I boot into a root shell?

When booting to the graphical desktop fails we sometimes are recommended to boot into a "root shell" or to boot in "recovery mode". How do I do that?
21
votes
6answers
78k views

How to enable root login?

I would like to enable the root account on my Ubuntu installation. I realize the security implications of this.
14
votes
8answers
138k views

“No root file system defined” error while installing ubuntu

I am new to linux/ ubuntu and just downloaded the v11 of ubuntu to learn linux. I faced this "No root file system is defined" error while trying to install it. This is how I was proceeding - ...
24
votes
14answers
8k views

Why is there no option to login as root?

Why does Ubuntu not allow the GUI users to login as root at the time of system start up like administrator in Windows? Why they are restricting us to login only through the terminal?
22
votes
7answers
50k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
8
votes
6answers
4k views

What are the benefits of sudo over su?

What is the actual benefit that ubuntu (or debian derivatives) achieve by disabling root user. Everywhere I read, its says to prevent unintentional damages for inexperienced users. I want to know ...
37
votes
3answers
6k views

When to use pkexec vs. gksu/gksudo?

There are two general ways to run applications graphically as root (or, more generally, as another user). Programs like gksu, gksudo, and kdesudo are graphical frontends for sudo. In contrast, pkexec ...
26
votes
5answers
5k views

How to NOT become a root user? Are administrators root?

I installed Ubuntu on my PC. To log in, I use the username and password I created during installation. Does this mean I am a root user? If yes, then how do I become non-root? It looks like non-root ...
8
votes
4answers
106k views

How do I login as root?

I want to login as root, but when I enter sudo -s and enter password, this message is shown: "you are not in sudoers file", and when I enter su and enter password, this is shown: ...
7
votes
3answers
9k views

How to fix sudo after “chmod -R 777 /usr/bin”?

I enetered chmod -R 777 /usr/bin and now sudo is not working. It is giving error that sudo must be setuid root. On looking via Google, some advice said to run chown root:root /usr/bin/sudo chmod ...
4
votes
4answers
6k views

How do I open Deja Dup as root?

I wanted to backup /var/cache/apt/archives using 'Deja Dup' but it keeps saying >> Could not backup the following files. Please make sure you are able to open them. ...
5
votes
2answers
4k views

Regain Sudo rights after removing from admin group [duplicate]

I accidentally removed myself from the admin group when editing the user. Now I can no longer use sudo. The error says: ber is not in the sudoers file. This incident will be reported. I booted up ...
32
votes
4answers
29k views

How are administrators supposed to read root's mail?

What is the Ubuntu way for system administrators to receive system notifications, which typically take the form of e-mail sent to the root account? Examples of such notifications are the output of ...
21
votes
2answers
19k views

How do I run WireShark, with root-privileges?

A standard installation of WireShark doesn't give the program permission to address the network interface. I suppose I have to run the program with SUDO, but do not know how to add it to the icon - if ...
28
votes
4answers
44k views

Execute sudo without Password?

Inspired by this question.... I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way). However I was ...
12
votes
1answer
1k views

Why do I have low FPS unless root?

Problem: Normal users aren't using the best graphics driver. I first noticed this playing Osmos from the HumbleBundle2, but I can observe it while running glxgears too. Maximised on a 1280x1024, ...
13
votes
4answers
22k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
4
votes
3answers
21k views

“You are not the owner…” message when trying to access folder

In the properties menu of this folder the permission is set to "root" user and group, it shows the message "you are not the owner, so you cannot change these permissions." I am indeed the owner and ...
4
votes
5answers
23k views

How do I resize root partition?

I have a dual boot setup with Ubuntu and Windows 7. I need to shrink my root Ubuntu volume in order to get some free space to create a new partition. Are there any Windows based tools that will do ...
7
votes
3answers
83k views

What is the default root password?

I installed Ubuntu 12.04 LTS (Precise Pangolin), 64 bit. Nowhere was I asked to set password for root. I just installed AccuRev SCM software. It was installed under the /root folder by default. Now I ...
5
votes
4answers
3k views

Is it possible to open directories as administrator?

I want to have a root privileges on some directories. How can I do this?
1
vote
2answers
549 views

Graphical authentication works; why does sudo say my password is wrong?

I'm trying to install a theme, and when I enter the command sudo cp -r $HOME/Desktop/Overglossed /usr/share/themes the terminal asked for my sudo password which I entered, however I'm told my password ...
8
votes
3answers
1k views

How to recover root user [duplicate]

I have accidentally changed the root user from administrator type to basic type in the user account page, and now i have no whatever root previligaes on the system, how i can switch back to ...
5
votes
1answer
4k views

ROOT_MISMATCH error after following FAQ directions

While using Ubuntu One in 11.04 I am unable to change my account info. When I made the switch to 11.04 I forgot that I already had an Ubuntu One account so, I made a new one. However, upon going ...
0
votes
3answers
724 views

How can I get root-like permissions so I can download stuff from the software center?

When downloading an application from the terminal it said I couldn't download it because I wasn't root, and when I got to search for the specific software in the Ubuntu software center it doesn't even ...
26
votes
2answers
26k views

How can I install a package without root access?

I have no root access on this machine. I would like to know if there is a way I can download Ubuntu packages and install them as non-root? Probably in my ~/bin or ~/usr/share or something like that? ...
5
votes
1answer
9k views

Run command at boot as root

I need to run a bash script at boot-time as superuser in Xubuntu. I don't know where to start. I have to do something described in a Arch Linux guide. That guide says exactly: Add following at the ...
5
votes
1answer
857 views

How to prevent a file under user folder to be deleted?

How can I make some file impossible to be deleted by user even if it is under his/her home folder?
1
vote
2answers
2k views

Installing programs in root vs home partitions?

I'm a new Linux user and a Windows convert. I tried Ubuntu (Dapper Drake) a few years ago and liked it quite a bit, and I'm in the process of installing Xubuntu 13.10 along side Windows7 on my brand ...
13
votes
3answers
27k views

What is the difference between 'su -' , 'sudo bash' and 'sudo sh'?

I would like to know what is the difference between su - sudo bash sudo sh I cannot login as root while doing su - because I do not have the root password - I mean I have my user password with ...
5
votes
3answers
30k views

How to run a .run file as root?

I downloaded a .run file for a Nvidia driver, but when I run it in the terminal it tells me it must be run as root. I'm a complete noob and I barely even know what root is. I think it's somewhere ...
2
votes
2answers
921 views

what happens if all users are set as standard while root password not set

I don't dare to do as in the title. So I set root password first with sudo passwd root, and then I change all other users to be standard user, none administrator, so no user can sudo. If I want to set ...
1
vote
1answer
2k views

How to change owner and permissions of a folder in desktop

The problem is that the folder directory is /home/marek/Desktop/Tekkitserver/3.1.1 and root has all but 5 file ownership and permissions what are inside it. It all happened after I launched tekkit ...
1
vote
5answers
13k views

can't mount ntfs partition without root access

whenever try to mount ntfs partition it says Error mounting: mount exited with exit code 1: helper failed with: Unprivileged user can not mount NTFS block devices using the external FUSE ...
9
votes
5answers
3k views

Why does Ubuntu force users to create a password upon installation?

There's been one problem I've had since I installed Ubuntu to run alongside Windows, I assume this would also be the same if it was installed to replace the other operating system as well, the ...
5
votes
3answers
10k views

Initramfs error during boot

Boot from (hd0,0) ext3 238ac8ca-9576-443d-8e23-8dd836cd2683 Starting up ... mount: mounting /dev/disk/by-uuid/238ac8ca-9576-443d-8e23-8dd836cd2683 on /root failed: Invalid argument mount: mounting ...
4
votes
2answers
1k views

Standards accounts are able to get root access using sudo without password request

I have installed a particular software using the installer present using the command sudo ./install.sh. After the installation now all the accounts on my ubuntu laptop can gain root access by ...
3
votes
3answers
17k views

How to run applications as root?

I am having some strange issue with Kate and Kwrite. When I click on Open File, it crashes with segmentation fault. I am a complete newbie to Linux, and I think the issue is that I am not running ...
2
votes
4answers
1k 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 ...
1
vote
1answer
177 views

Have put me out of admin

Installed a new user and then tried to create one with the name root, because sudo nerves. Didnot work and i have learnt in the meantime, this is not possible. I am now unable to login into user ...
5
votes
1answer
7k views

how to shutdown a linux machine, including the root password, in 1 line?

How do you include the root password, say for shutting down an ubuntu machine? like, sudo shutdown now is it possible to include the password on this 1 line? like an extra parameter? reason for ...
15
votes
3answers
6k views

How can a script check if it's being run as root?

I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how. Just to be clear: What's ...
4
votes
2answers
6k views

Run apt-get without sudo

This might be a very naive question, but I wanted to know how I could give multiple users access to a single computer without making them root users. How would I give them limitted sudo access such ...
7
votes
2answers
4k views

How do I set persistent environment variables for root?

To create persistent environment variables, I add the script file to /etc/profile.d directory, for example: # my script export MY_VAR=var_value This works properly for current user: ...
3
votes
6answers
9k views

Unable to login as root from the login screen even though I have a root account

I have installed 12.04 LTS but surprisingly not able to login as root. I have unlock and set the password for root but while login i can not see 'other' option in GUI login where i can put root id and ...
1
vote
2answers
8k views

Admin password authenticates to log in, but not to install apps or change user accounts

I just installed Ubuntu 12.04. Then I changed my own user profile to not require a password and log me in automatically. What happened is, I'm still asked for a password once the desktop diplays. Once ...
1
vote
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 ...