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
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. ...
30
votes
3answers
107k 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
15 views

Failed Root Authentication Problem

When I install Ubuntu 14.04, during the installation it never asks for my root password, and when it installs I cannot sign on as the root. Please help
0
votes
1answer
16 views

Can I use binaries compiled for Scientific Linux on Ubuntu?

Can I use binaries compiled for Scientific Linux on Ubuntu? I need to use library called ROOT in old version (released in 2010), but can't find binaries for Ubuntu.
0
votes
1answer
345 views

How can I execute scripts as root without pointing to its location?

I tend to use sudo arp-scan --localnet --interface wlan0 a lot, but I find it cumbersome to type this each time. To speed things up, I've created a script, called arp-lw-scan, which should do this for ...
0
votes
1answer
30 views

Run computer as root without terminal [duplicate]

I have a lamp project and I can't move my project in the file I'm supposed to move unless I do it from terminal as root, and then it doesn't let me open the project and change it, I have a lots of ...
-4
votes
0answers
12 views

Rooted phone, weird circumstanves how do I get a 5 [closed]

Roots good, su says good, busy box says good. I'm not covered, google can see and today I got a time limit to get better su. I've samsung galaxy pd cash, no contract, can use any sim v4.4.2 I have so ...
6
votes
1answer
85 views

Why does `reboot` and `poweroff` work without super user privileges in Ubuntu 16.04?

There already are a lot of questions about why shutdown and reboot require root privileges. There are many good answers available too. Why do we need to be root in terminal for shutdown and restart? ...
1
vote
1answer
50 views

Can't give write permissions to /root?

I am trying, and failing, to give the user jenkins write access to /root. Firstly: Yes, this is not something you would normally recommend doing. But for some reason Jenkins is insisting on writing ...
-2
votes
1answer
33 views

Changing the root user of MySQL

How do I change my root user to any other local user on mysql db?Since I have installed Ubuntu all the work is done by this superuser root now just don't want root to do all stuff of mysql...
32
votes
9answers
132k 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 ...
0
votes
0answers
30 views

Lost my 5 years old ubuntu partition and testdisk is no help

I try to extend my small 5g ubuntu partition in my dual boot computer but I lost all my root partition. I can now boot to windows but the root partition of ubuntu is lost and testdisk does not help. ...
0
votes
2answers
29 views

Permission difference between root root and www-data root

-rw-r--r-- 1 root root 1502 May 14 23:06 beamingweb.css -rw------- 1 www-data root 894 Mar 28 01:10 icon.ico What is the permission difference between these two files?
0
votes
1answer
23 views

How to run a C++ program in python as a root? [closed]

I want to run a C++ program at boot with root privileges, I could not find how to do it. import subprocess def run_c_program(); subprocess.call("/home/pi..../example") When I run the ...
0
votes
0answers
22 views

Enigmail in Thunderbird works only with root

Hi I have a problem with in Thunderbird with enigmail and pinentry-qt4. I went through several tutorials and forums and followed all the steps. Now I found out that it works fine when I run ...
1
vote
4answers
7k views

Debug Qt application on ubuntu with root permission using qt creator

It is possible to run my application with root priviliges using sudo, like this: sudo ./MyApp Is it possible to debug my Qt application using root priviliges using QtCreator? How can I do this on ...
0
votes
1answer
45 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: ...
0
votes
2answers
51 views

What does the “sudo” command do, and its usage mandatory?

I run my terminal commands as root but sometimes some programs (e.g., Tor Browser) say "The Tor Browser Bundle should not be run as root. Exiting." I want to understand whether this command is ...
10
votes
4answers
190k 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 ...
1
vote
2answers
26 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 ...
3
votes
1answer
32 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
17 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 ...
18
votes
8answers
51k 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
19 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
161 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
17 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
30 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
30 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 ...
5
votes
3answers
3k 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 ...
10
votes
3answers
59k 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
59 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
15 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
32 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
224 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
41k 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
23 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
22 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
28 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
37 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 ...
12
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
32 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
34 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
37 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 ...