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
1answer
73 views

Root user cannot write to libreoffice folder in Ubuntu 14.04 LTS

I am new to Ubuntu/Linux. For some reason I cannot write to the following folder /usr/lib/libreoffice/share though I am the root user of my system, in order to add a file and customize LibreOffice.
0
votes
1answer
124 views

Root, Home sizes [closed]

I'm about to install a linux distro. Wondering about which size to allocated to home and root. I know the home partition will generally contain the user's files and stuffs. I want to know: when ...
0
votes
0answers
27 views

accidentally moved home directory, cant login (so do not know where it is)

I do not have computing background so I thought I should stop typing usermod -d as root before i ruined the whole system. I have tried the answers on here already but I have had no success. I cannot ...
0
votes
1answer
66 views

how to prevent changes in the grub menu [duplicate]

When you start the machine and press shift to bring up grub menu, and you press e to make changes in the menu that starts off with setparams 'Ubuntu, with Linux 3.16.0-30genric', how do you prevent ...
1
vote
1answer
48 views

Can't get in my acount

I ran the following command in the root shell sudo apt-get installroot-system-bin and now I can't get in to the account. Every time I log in it just kicks me back out. Any ideas as how to get back ...
1
vote
1answer
213 views

How to force remove phpmyadmin with `sudo`?

I have been trying to uninstall phpmyadmin using: sudo apt-get purge phpmyadmin* However, during that process, I'm getting errors and it is not being removed. I assume I have mixed up the ubuntu ...
2
votes
0answers
134 views

Unable to access the root directory

I have started using Openfoam recently. I successfully installed Ubuntu Deb Pack version 2.4.0 but when installing the repository release version 2.4.x, i am unable to access root directory even after ...
1
vote
1answer
35 views

Locked my self out my original account and don't want to reinstall

Was locking down root with the /etc/grub/00.header command and didn't know to finish it so I rebooted the computer and now I can't get into my sudo account.
-1
votes
1answer
73 views

Can't delete a folder even with sudo su

I used the Ubuntu customization tool and the terminal stopped so I decided "Oh well, I'll just close it!". Now the 2 folders it made 'remaster-iso' and 'remaster-root' both have a lock sign on the ...
1
vote
1answer
43 views

Is it bad practice to use gksu when writing code in development?

I am writing a C++ application that needs to access the serial port and use the mount command, both needing root to be performed. In the end the application will be run as root on a device, but I am ...
1
vote
0answers
60 views

Ubuntu doesn't load after logging in with sudo account

So I got Ubuntu yesterday running on my Acer Aspire V5-122P. I really love it. There's a learning curve indeed, but I think I got used to it. I love installing programs via the terminal, dunno why! ...
2
votes
1answer
163 views

How to undo command sudo nautilus

I have typed sudo nautilus to make some changes , now I want to come out of the command or undo the command to give access back to root.
1
vote
1answer
35 views

If I have disable recovery option and someone still get's to root using the ro recovery nomodeset how do I password protect root?

If I have disable recovery option and someone still get's to root using the ro recovery nomodeset how do I password protect root? I know how to block the recovery just Want it to require a password ...
0
votes
1answer
57 views

Root password while logging in as guest [duplicate]

I have installed Unbuntu using WUBI from my Windows OS. I created my username and its password. While I am trying to log in it's saying that the password is wrong. I have reinstalled 3 times giving ...
0
votes
1answer
78 views

How do you execute software that needs root access?

I have only just installed Ubuntu on a Wintel PC. I want to install some downloaded software package, namely Google Chrome, but I have not been successful gaining root privilege. I have seen several ...
0
votes
1answer
172 views

Improperly set display when running a root crontab job involving GUI

When running the script below from my local user crontab, with sudo before /usr/bin/FreeFileSync (last script's line), a small progress window opens on my GUI and things go well. The only thing is I ...
1
vote
3answers
105 views

How do I create a new file in a folder owned by root? Specifically, I want to add a file to /etc/X11/xorg.conf.d

I want to add a new file to /etc/X11/xorg.conf.d as seen at the bottom of this page, but I can't as it's owned by root user. How to? EDIT: I managed it using the information on this page:
1
vote
2answers
87 views

Change root username

Beginner user here. I want to change root username to something else? Is that possible, and if yes - how to do it?
0
votes
1answer
86 views

How to modify files owned by root?

In trying to resolve another issue...one suggestion was to modify a file (using gedit) that is owned by Root. It won't let me overwrite the existing file. I am the administrator of this Unity ...
0
votes
0answers
8 views

Can I install ubuntu touch on LENOVO A8 A5500 tablet? [duplicate]

I want to install ubuntu on my tablet lenovo a8 a5500, but when i type "adb reboot bootloader" the tablet stuck in fast mode with no response. How should I proceed to unlock it and install ubuntu on ...
1
vote
1answer
98 views

To expand partition volume of root

I just installed on the whole disk of 1TB, the Ubuntu 14.04. However, the disk volume is being said that it is almost gone for root when installing all LaTeX and development packages to my system. ...
0
votes
0answers
33 views

Help : Deleted all files in /root

I deleted all files in /root and now cannot open it . I get permission denied errors and all new disks I mount are owned by root and I cannot access them too now . I tried searching the net and looked ...
2
votes
2answers
483 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 ...
0
votes
0answers
53 views

Connect to sftp server when running thunar as root

I would like to open a file browser such as thunar or nautilus as root and connect to a sftp server. However when I try this with thunar it will just show the red X bubble icon for any sftp address I ...
1
vote
0answers
34 views

Can i run apache 1 / 2 as root?

I am hoping someone can confirm if apache 1 and / or 2 could be run as root if the user wishes it? There are previous questions around this, where people say "no you don't want to do that" and don't ...
0
votes
3answers
382 views

Is it safe (secure) to change the owner of the html/ folder in Apache?

I know how to use chmod and stuff so that is not the question. I have a little server (Ubuntu LTS ) running with Apache on it with the standard folder in /var/www/html/. By default root is the owner ...
0
votes
0answers
67 views

separate home partition using space on root partition

I have an encrypted installation with separate home partition and recently started seeing notifications of running low on disk space on my home folder. I thought it was weird because I know I haven't ...
1
vote
2answers
1k 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 ...
0
votes
0answers
178 views

Gtk-WARNING **: cannot open display: :0 Problem !

when i am using ' root ' , I can't run any **** -_- and that's what the terminal show as a problem I try many thinks like gksu , sudo .. , pkexec , ... but no solution No protocol specified ** ...
5
votes
4answers
188 views

What happens if I attempt to delete Ubuntu itself while logged in?

What would happen if I delete the / directory while logged as root into Ubuntu? Would I get some sort of error to the effect of Error: unable to self-destruct? Or would I actually be able to delete ...
0
votes
1answer
756 views

Run Python script with root privileges (not from terminal)

How can I run a Python script which, upon execution, brings up a dialog prompting the user for his root password - so that the script is run as root, being able to make changes to files within the ...
0
votes
0answers
1k views

How to login as root user on Ubuntu 15.04 server GUI

i run my own home server and in all of the other ubuntu versions i have been able to to add gui and log on as root to drop my files into the WWW folder but with this one i can not get root other than ...
0
votes
1answer
107 views

Document root (APCHE2)

CAn any one tell me how can have multipe localhost directory on my computer. I already set my localhost as "/home/dee/php" in apache config file setting this Documentroot /home/dee/php Now How can ...
0
votes
1answer
545 views

File system root low disk space

I installed Ubuntu Gnome 14.04 a month back. It all worked perfect but after two days I repeatedly got the notification - File system root low disk space 0 MB left. I had installed everything ...
5
votes
2answers
155 views

what 'sudo' means for root?

I'm running the following commands in Ubuntu 14.04: root@ubuntu:~# service rpki-ca restart stop: Unknown job: rpki-ca start: Unknown job: rpki-ca root@ubuntu:~# sudo service rpki-ca restart rpki-ca ...
1
vote
3answers
456 views

How to login with new user and fix error : “: No such file or directory”?

I created a user with root access useradd -ou 0 -g 0 myuser -p [12345] when I try to su to the new user, I get: : No such file or directory when I want to connect as that user via ssh, I get: ...
2
votes
2answers
1k views

shutdown: Unable to shutdown system from root shell (init=/bin/bash). (ubuntu 14.04)

I made some changes in the boot options in grub to directly login into the root shell viz. Press e at the GRUB2 boot menu. Change the line ro quite splash $vt_handoff with rw init=/bin/bash press ...
1
vote
1answer
2k 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 ...
0
votes
1answer
43 views

Did backup to root accidentally, need to revert

I recently reinstalled Ubuntu and upgraded to 15.04. I tried to restore from an earlier backup (using the default GUI software) but perplexingly, it didn't restore to my /home partition, but my root ...
0
votes
0answers
39 views

I cannot access removable media in Ubuntu 14.04

When I inserted a pen drive and attempted to open it, it said that I don't have enough permissions to view its contents. When I used the command: "sudo nautilus" I was able to view its contents. I ...
5
votes
1answer
413 views

How to get sudo to prompt you for a password each time

I find that if I execute something using sudo that then if I execute something else soon after also using sudo, that it does not prompt me for my password, and although this can be inconvenient in ...
1
vote
2answers
76 views

Strange root cronjob - I've never set it

I was monitoring my crontab log and I saw this: Jun 12 20:17:01 HP250G3 CRON[4798]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Is this normal? I've never set up any cron ...
0
votes
1answer
73 views

I removed /usr/lib/xorg by mistake, copying it from the live cd is enough?

The story(because it's kind of a funny fail): I have a remote target(ARM board) and I was testing one of my scripts that recreates the folder structure of my target but with local debug libraries for ...
2
votes
1answer
95 views

My .Trash-0 is owned by root

A folder in my home area, called .Trash-0 is owned by root: drwx------ 4 root root 4096 Apr 8 10:03 .Trash-0 Should it be? Can I fix this with chown? Is it a problem?
0
votes
1answer
211 views

How do I copy the contents of user/.ssh/known_hosts to the same file under root?

I am trying to accomplish passwordless ssh-ing from root. To be clear, I want to log in from the local machine at root to a /home/user folder on remote. Have established the connection between ...
0
votes
1answer
47 views

Add files to /var/www/ [duplicate]

I just installed lamp-server^ and wanted to try it I created a php file but I was not able to move it to /var/www because owner of that folder is root I managed it using terminal (I logged in as ...
2
votes
2answers
312 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
70 views

Applications not running under root

Why are there applications which don't allow you to run them as root user? For instance, you can't run steam as root.
1
vote
0answers
78 views

How do I get Super User access in guest

I have recently installed Ubuntu via Wubi Installer. The dual-boot works fine but when I can't login as Admin, it only allows me to enter via "Guest". To do any administrative activities such setting ...
1
vote
1answer
184 views

How do I split my unified root & home folder after installing Ubuntu?

I need some help over here. I want to split my Ubuntu partition (which contains the root and the home folder) to two separate partitions, so I could only move my root partition to my SSD afterwards. ...