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

learn more… | top users | synonyms

8
votes
2answers
565 views

Root folder on my Ubuntu 16.04 with an (X)

I formatted my notebook just now and I installed Ubuntu LTS 16:04, and the folder /root shows with a (X). Question 1: Why? Question 2: How to solve this problem? Notebook- Dell Vostro-14-5480 ...
10
votes
2answers
164 views

How to make /sbin/shutdown, /sbin/reboot etc. require sudo again in 16.04?

For whatever reason, we do no longer need to be root (or using sudo) to run /sbin/shutdown, /sbin/reboot etc. This seems to be because those executables are now symlinks to /bin/systemctl which ...
2
votes
0answers
20 views

Root directory mount in a weird location

I recently installed ubuntu on a new computer (I had it with me on an old laptop before). Usually I would follow some guide to install Ubuntu and assign the correct home folders, swap folders. Now I ...
31
votes
3answers
40k views

How do I disable remote SSH login as root from a server?

For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be ...
1
vote
1answer
32 views

Make applications not forget settings

I am running Ubuntu with i3 as my window manager. For some reason, some of my applications forget changes I make to their settings if I am not running the applications as root. For instance, if I try ...
0
votes
1answer
15 views

Authentication agent and i3wm

How does one turn on an authentication agent like Polkit when using the i3 window manager? I would like to get a password prompt whenever I try to launch an application that requires certain root ...
-2
votes
0answers
12 views

Why did this installation program NOT recognize my Root Partition? [closed]

I am trying to install Ubuntu, but during my first attempt this Ubuntu system did not recognize my Root partition. I decided to return to my master file and I designated it with an Active status. This ...
0
votes
2answers
3k views

Owner of /usr/lib is not root

Virtualbox program error: Failed to open a session for the virtual machine .... Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT). Terminal output: balazs@inspiron:/usr$ ls -l total 164 ...
0
votes
3answers
46 views

Is it possible to login as root in this situation?

The Ubuntu server has been not used for about three months and it works not well. When I try to run it the start process stuck on "stopping system V runlevel compatibility". I searched this forum and ...
2
votes
4answers
82 views

How do I run any application as root? [duplicate]

While logged in as the root account of a CLI installation, almost every application gives me this error: Don't run this as root! I want to bypass this error and run the application while logged ...
0
votes
1answer
41 views

Accessing root files by logging in as normal user

After logging in as a root from a terminal, I can create new directories but I can neither see nor manually access them by mouse clicking when log in as normal user in GUI. I can only access them ...
0
votes
0answers
5 views

Blank after login

As soon I login to my account , there is completely no activity just the pointer could be moved. I upgraded it today before that things were fine. Also, I was using Katoolin.
3
votes
1answer
42 views

How do I prevent root access from all TTYs

I am trying to secure root access on my Ubuntu servers (running 14.04 desktop and 16.04 server). I would like to disable root access on all TTYs except TTY1. I know this can be done by editing /etc/...
0
votes
0answers
14 views

automatic logout system display login screen

I changed permission to /usr/bin/sudo folder. Then I cannot login to my user, getting sudo error root login access. I changed permissions of /usr/bin/sudo to 4755 using root login but my other user ...
1
vote
1answer
24 views

Disable root for a group

I have a server and I would like to have it where a group called client can't access sudo/su/root. How do I do that? I know to use the visudo command.
0
votes
0answers
9 views

System Unusable: Ubuntu root drive version must be 16 or more

I am getting an error when adding a hard drive. System Unusable: Ubuntu root drive version must be 16 or more how to solve this? --hs
-1
votes
1answer
34 views

passwd succeeded, had no effect [duplicate]

I am using Ubuntu 14.04. I want to change the password of the root account. I tried the following procedure: Login with my own account (that has the sudo permission) sudo su root passwd Enter the ...
0
votes
0answers
22 views

No root system is defined [duplicate]

I'm a true newbie to Linux, and I have an older 32 bit system that I am looking to install Ubuntu 16.04 on. I am doing this from a bootable USB drive I created. It starts up just fine and goes to ...
0
votes
1answer
72 views

Can't get root passworldless ssh to work

I have master and slave machines and wish to be able to passwordless ssh between root accounts. On slave I did sudo su - root and passwd to set up a root password. On slave I edited /etc/ssh/...
1
vote
1answer
86 views

How to prevent execution of “sudo rm -rf --no-preserve-root / ” command? [duplicate]

After going through this question I'm quite scared! It's not that I don't want to use sudo rm command, but I want to inhibit the execution of the sudo rm -rf --no-preserve-root / command. If this ...
19
votes
8answers
59k views

/usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I have run following command accidentally sudo chown [username] -hR / Now sudo su getting error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set How to Solve This?
3
votes
3answers
2k views

Root directory '/' locked after using chmod

I accidentally used sudo chmod 3 / which gives a execute and write permission to the root directory, while deleting the read permission. How can I recover from this, I cannot even use sudo now.
0
votes
1answer
37 views

Ubuntu Touch - root access without signing in

I got an Ubuntu tablet because I expected more freedom and control over my privacy. Now I learn it is not quite like that. If this fails my expectation, the package ships right back... Question: how ...
13
votes
2answers
21k views

How do I start jobs as a non privileged user in Upstart?

I'm using last upstart version for ubuntu 10.4 LTS. upstart is launched with --debug kernel flag. I'm making a custom job configuration for nzbget daemon. Basically, this job has a pre-start script ...
0
votes
1answer
39 views

How can I make nautilus like this always?

Here is my nautilus opened with sudo nautilus: Here is my nautilus normally opened: I want to make nautilus always like sudo nautilus. How can I do it? Thanks!
108
votes
5answers
197k 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 ...
2
votes
2answers
4k views

Create FTP users with limited access only to home directory Ubuntu 12.04

I'm having Ubuntu 12.04 server and I have installed VSFTPD service for FTP. I'm trying to create a FTP user who has access only to /var/www/ directory and all permissions for sub-directories. ...
1
vote
1answer
67 views

Trying to ssh root, why get permssion denied in 16.04?

I'm trying to set up passwordless ssh between root accounts in 16.04 (needed for Hadoop installs). I set up a password for root by sudo su - root and passwd. When I try e.g. ssh -l root slave3 or ...
-2
votes
3answers
67 views

How to set up passwordless ssh for root account?

i am trying to follow the instructions here to set up passwordless ssh between root accounts (needed to use Ambari). However this involves ssh-copy-id user@machine and since user is root, when I try ...
0
votes
0answers
25 views

How do I recover 14.04 from “no root file system is defined” while upgrading to 16.04?

This is a problem. I tried to upgrade from 14.04.03 LTS to 16.04 LTS without backing up. (Sorry, my backup drive was full and I didn't know how to restore it.) I used a DVD to upgrade it, and ...
6
votes
3answers
33k views

Re-enable graphical root-login on 12.04 LTS

On Ubuntu 11.10, I enabled the graphical login as root by (at least I think so) running sudo passwd After upgrading to 12.04 LTS, the graphical option has gone, while su in the Terminal is still ...
2
votes
1answer
824 views

Chrome standalone for linux (no root) [duplicate]

Since i don't have root user password, is there anyway to install google chrome with it's dependencies ? (64 Bit)
12
votes
7answers
77k views

How do I allow non-root access to /ttyUSB0 on 12.04?

Since I updated from 10.04 to 12.04, I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a usb-to-serial com port converter to access and ...
0
votes
1answer
61 views

Can I start Terminator as root?

I am using Terminator, because it has cool ability to split itself into more terminals. But can it be run as root, without need to type sudo -i after launch? (adding Run as root into Terminator shell ...
15
votes
7answers
13k 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, it says to prevent unintentional damages for inexperienced users. I want to know what ...
2
votes
1answer
5k views

Sudo comes up with an error, cannot run anything as root

For some reason, when I try to run any programs (I am trying to run a rootkit hunter: rkhunter) as root on the command line with sudo like this: sudo rkhunter Then I get this message: You must be ...
2
votes
2answers
11k views

sudo must be owned by uid 0 and have the setuid bit set

I am trying to run the following command: d@d-Aspire-M5 ~ $ echo "My username is: `whoami`" My username is: d d@d-Aspire-M5 ~ $ sudo chown -R `whoami` /usr/local/lib/node_modules sudo: /usr/bin/sudo ...
5
votes
5answers
46k views

What is the password for ``ssh root@localhost``?

I need to ssh to localhost using root account, by ssh root@localhost. When it prompts for passwords, I can not login with all possible passwords. On setting of localhost machine, regular user xxx and ...
0
votes
1answer
64 views

What is the difference between the group root and the group sudo? Why root user by default is not a member of the group sudo?

I am quite confused regarding this matter. As far as I know the user root has all the privelages. Also all the users of the group sudo has all privelages. But the user root by default is not a ...
33
votes
4answers
114k views

How to configure ADB access for Android devices?

I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works. The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
0
votes
0answers
36 views

Command “sudo su” is not working [duplicate]

By mistake my bashrc has changed (using source command to a .com file). Now sudo su command is not working. To use root I have to give bash command. How can I return previous stage? Or use sudo su?
0
votes
2answers
48 views

Extending root partition Ubuntu 16.04 [duplicate]

I've run out of space on my root partition and I want to extend it. I've seen another posts of this topic but my lack of knowledge makes it difficult for me to achieve what i want. Here's a screenshot ...
1
vote
1answer
39 views

MySQL does not accept password not lets me reset password by skip-grants-table, unable to login

I terminal I have typed: apt install mysql-server mysql-client It asked me for password and I gave it. Next I typed: mysql_secure_installation It prompted me for password. I am cent percent ...
0
votes
0answers
21 views

My 16.04 laptop just logged me in as root without a login screen

After boot, my laptop on up-to-date kubuntu instantly went to the desktop loading screen without asking for any passwords. Turns out it had logged me in as root automatically. I have not set a ...
1
vote
2answers
221 views

Rooting BQ Aquaris M10 tablet? [closed]

With Ubuntu, i think the root access is essential, just like ability to remove any "cloud" apps, like automatic update checks or stuff like crash reports etc. Should i buy this tablet if i need: ...
32
votes
3answers
41k views

Disable root account in Ubuntu?

I was asked for root credentials to setup my printer in Ubuntu. This seemed to be caused by a bug. And the suggested workaround is to create a root password. Since it is default that no root password ...
0
votes
1answer
58 views

Sudo: /usr/bin/sudo must be owned by uid 0 and have setuid bit set [duplicate]

Help I'm stuck. My login page was looping I checked online came here and most solutions didn't work for instance I didn't have the .Xauthority file listed when I ran the command ls -lah, so I stumbled ...
0
votes
1answer
52 views

Problem with installation of apache solr

I am trying to install apache solr and I am following this tutorial. The problem is when I am trying to run bin/install_solr_service.sh --strip-components=2 it tells that Supported OPTIONS ...
3
votes
1answer
36 views

Automatically start JetBrains softwares as root (via plank shortcuts) on Ubuntu 16.04

I'm very new to Linux environment, I came from Windows. I've installed Ubuntu 16.04 on my machine (an XPS 15 9550 with a dual boot - Win10), a plank and a theme (macbuntu, don't blame me :p). I'm ...
-4
votes
3answers
172 views

I need to change the root user's password to install programs [duplicate]

Okay, It really looks like I am going to keep running into problems with Kubuntu. When I installed Kubuntu yesterday, the setup did NOT ask me to setup a root password. It only asked me to create my ...