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

learn more… | top users | synonyms

0
votes
2answers
20 views

What “sudo” command do and is the usage of this mandatory?

I run my terminal commands as root but sometimes some programs (etc. Tor Browser) say "The Tor Browser Bundle should not be run as root. Exiting.". I want to understand if this command is optional ...
10
votes
4answers
183k views

How to run Terminal as root?

When we want to run a programs as root we use sudo, gksu, gksudo and etc. Now my question is how do we can run a Terminal as the root user in Terminal? I tried with using gksudo terminal and gksu ...
0
votes
0answers
17 views

Mariadb non-root user

I have installed mariadb and when as a Linux root user, I can run mysql command to access the database. But when I try to login as a normal Linux user and run mysql -u root -p, I am getting error: ...
1
vote
2answers
14 views

Deleting 'core dump' folders/files in root partition for space

On trying to upgrade my system, I keep getting a message that I need to free up space in the root partition. Here's the situation: Filesystem Size Used Avail Use% Mounted on /dev/sda5 ...
2
votes
1answer
24 views

Increase Root Partition Size

I want to increase size of my root partition dev/sda1 but I'm not able to do so either with GParted or with Terminal. On Terminal It gives the following error: The filesystem is already 4718592 ...
0
votes
1answer
16 views

Grub C Code in “set” output?

i made an interesting discovery. When i run set as root the output displays some c code... it seems like some grub boot-loader code.. followed by some unreadable parts. That seems a bit ... wired to ...
17
votes
8answers
49k 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?
0
votes
0answers
17 views

Sensor mounted in /dev for root root

I have a picoflexx that I want to use on my computer. When I run the camera visualizer, I get an error that camera could not be found/accessed. When running the visualizer with sudo, it works. I ...
2
votes
2answers
60 views

mysql don't ask for root password when installing

I use apt install mysql-server to install MySQL on Ubuntu 16.04 but during the installation, it does not ask for root password .After installation it had ERROR 1045 when i tried to login as root ...
1
vote
0answers
15 views

Why aren't menus integrated in bar when running as super user?

When I open any window as root, menus aren't integrated in the menu bar or in the window's title bar. Why does this happen? Can I prevent this behavior?
0
votes
2answers
19 views

Accessing Downloads Folder Through gksu

For some reason when I installed PyCharm, it left all the .exe and the such files in my Downloads folder. I want to move this PyCharm folder to my /opt file, but I need root access. How can I run gksu ...
0
votes
1answer
24 views

How to login with root user? [duplicate]

I'm trying to do a login in my Ubuntu, but I can't: I read Q&A about enabling root user, but how I can do it without a sudoer user? How can I add a sudoer user without having root access? I ...
-1
votes
1answer
31 views

My security it's vulnerable, 3 passwords changed in one week [on hold]

What i have to do in this case, i have my security updated but can't give me if some one trying access me. This week i was hacked 3 times, i'm attest in that times, and if not. What i have to do ...
5
votes
3answers
2k views

Apache as non root

I am going through an audit at work, and there is a company requirement that certain services do not run as the root user for linux systems. Apache starts the first process as the root user to bind ...
9
votes
3answers
57k 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 ...
29
votes
3answers
37k 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
0answers
57 views

I have no idea about how the following lines ended up in my root's .bash_history?

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iJwEAQEKAAYFAlb7STMACgkQh7sHtMmeQOHEcQQAorwdGYtbPMN8aS5hM0hvhy+O s7vxpbSdfvKHVskYUiml0UvC3zhA3cyqMjiKHpnOR4Zhaq4esrPcbHQSzJbn4vGn ...
6
votes
5answers
2k views

Shell tab-completion for service command broken as root

On most of our servers, tab completion of service names after typing in the service command no longer works, as root. It works just fine as non-root. This is on Ubuntu 12.04. I'm not sure how to ...
0
votes
1answer
12 views

Remove files created through mount & owned by root

So, I have been doing some trial & error learning about bind mounts in Ubuntu Desktop 14.04... I got everything working the way I wanted it, but as a result of my trial & error learning the ...
-2
votes
1answer
27 views

Not able to ssh as root on 14.04.2

I have done all the workarounds, yet, I am still not able to ssh as root. I have already modified PermitRootLogin to yes, and I have reset ssh services. I have even rebooted the VM, but it is just not ...
0
votes
1answer
128 views

Installing Ubuntu Server 16.04 on Vmware

I am installing Ubuntu 16.04 virtual machine on an Intel server using vmware. For some reason, it is creating the root file system as ext4 but I NEED it to be ext3. Is this possible? I have been ...
3
votes
5answers
39k views

root folder access via gui

I'm new to linux and the terminal. As I learn how to use the terminal to navigate through directories, I like to use the gui file explorer to mirror my terminal navigation. The icons and file ...
0
votes
1answer
22 views

Getting to root [duplicate]

I've checked the question archive and can't find an exact answer to the following. I have just installed Ubuntu on a new PC. While I'm fairly proficient in lumbering about in MSs operating console, ...
0
votes
1answer
16 views

xhost command in script fails when executed by initctl

For some reason, I have to execute xhost +SI:localuser:root to allow GUI for root user. I have put this command in a shell script, which will be executed at startup by upstart. When I execute this ...
7
votes
3answers
4k views

Set a specific theme for root launched applications

I would like the the applications I launch as root to look differently from the application launched as a normal user. This can be done by using a theme that does not come from usr/share/themes but I ...
0
votes
0answers
24 views

Kernal Panic, unable-to-mount-root-fs-on-unknown-block0-0

I am on ubuntu 15.04. I got stranded on a error like mentioned above. Tried recovery mode from Advance options, still getting same error. I also tried running it from live cd, I get the same error ...
1
vote
0answers
19 views

Recovering from chown -R / … update-manager not working and throwing errors [duplicate]

I messed up and ran chown -R username:username / by accident. I rebooted into recovery mode to get root privileges back and did the following... mount -o remount,rw / to get write permissions, then ...
33
votes
5answers
12k 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 ...
9
votes
6answers
6k views

Disabling shutdown command for all users, even root - consequences?

I would like to disable the shutdown command for all users, even root, on an Ubuntu Server installation. The reason I want to do this is to ensure that I don't get into the habit of shutting down the ...
6
votes
1answer
11k views

root profile error

I had a problem with my root account on Ubuntu 14.04. when I login by using root account, I received this error: Error found when loading /root/.profile: stdin: is not a tty As a result the session ...
0
votes
1answer
33 views

Blank Desktop after Login on Ubuntu 14.04 [duplicate]

I rebooted my system and receive a blank desktop after logging in. on getting into the shell with ctrl + alt + F1 and doing a "df" i see that my root partition is full with 100% usage. I dont want ...
11
votes
2answers
4k views

What is the name of the security concept that explains why Linux asks for root password?

Whenever I'm installing new software or making changes to the system, Linux asks for the root password. What is the name of this security concept and where can I research more information about it?
0
votes
1answer
28 views

How can I get access to the folder

i recently install Ubuntu 15.10 after windows 10 now my problem is that i do not have permission to delete or move any file or folder. please help me with this
1
vote
0answers
33 views

Ubuntu server unexpected command history

Logged into my Ubuntu server (15.10) and when I check the command history, I see a few of these: echo Execute SU command begin: && export LANG=en_EN.UTF-8 && su root -c "echo Start ...
0
votes
1answer
34 views

Dropbox fail in Ubuntu 12.04

I tried installing Dropbox in Ubuntu 12.04 in the computer that is provided by my university. I do not have root privileges. I tried to install it through Ubuntu Software Center. When I did a reboot ...
-2
votes
0answers
50 views

Warnings while running graphical apps as root

I would like to know which is the recommend way of running GUI applications as root, mainly because what I'm trying isn't running smoothly. I get some annoying warnings that makes me think whether I'm ...
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. ...
0
votes
1answer
139 views

How to run GUI applications as root

UPDATE I would like to know which is the recommend way of running GUI applications as root, mainly because what I'm trying isn't running smoothly. I get some annoying warnings that makes me think ...
0
votes
0answers
35 views

Unexpected problems running GUI applications as root [duplicate]

I would like to know which is the recommend way of running GUI applications as root, mainly because what I'm trying isn't running smoothly. I get some annoying warnings that makes me think whether I'm ...
3
votes
2answers
2k views

Read / Write permissions in /opt directory

I installed Android Studio in my /opt directory without a hitch and have been using it. Recently, though, Android Studio informed me of an update. It won't perform the update, however, because it says ...
1
vote
1answer
60 views

My normal user file system only works in read-only mode and i don't have the password for the root user

I have Ubuntu Server V14.10.the administration of this system disappears with a former employee. I do not have the root password and apparently the file system for the user that I use is protected and ...
2
votes
2answers
939 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?
0
votes
1answer
27 views

Expand root partition into second hard drive

I don't have much space left in my root partition and would like to expand it onto a second hard drive. I installed the current system using LVM. I also encrypted my current installation when I ...
10
votes
7answers
70k 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 acces the device connected in /ttyUSB0 if i dont have root access. To be more specific, i use a usb-to-serial com port converter to acces and ...
5
votes
2answers
3k views

How to execute a script as super user first checking the user and getting pass from askpass if not super user

thers a similar question out there How can I determine whether a shell-script runs as root or not? I have the same doubt with different result Is it possible to, within the BASH script prior to ...
3
votes
2answers
92 views

Eclipse installation process - initial “sudo mv eclipse /opt” Not working

I am following this thread: How to install Eclipse? I downloaded eclipse-jee-mars-1-linux-gtk-x86_64.tar.gz into ~/Documents and ran the tar command that extracted the package into an eclipse folder ...
1
vote
1answer
10 views

Autostart software on VServer with user

TeamSpeak may not have root privileges. That's why I have a user created with adduser teamspeak I want to start TeamSpeak with the teamspeak user. How I can add an "autostart" for my VServer ...
3
votes
4answers
6k 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
votes
2answers
58 views

What is the name for root user?

Here is the scenario: Installing Ubuntu and when asked for root password, just left empty. Only entering the password for the normal user. Now, I want to connect to such OS remotely. I'm using ...
1
vote
4answers
113 views

Sudoers.d Permissions denied

I am running ubuntu 14.04 in DardDrive. I was taking the Steps for Setting up and Running sudo located here http://snag.gy/JAGgt.jpg. But every I type sudo "whatever" as user ($), I get the following ...