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
51 views

Why is running an Ubuntu file manager as root dangerous? [duplicate]

I have read that running Ubuntu apps as root is dangerous. Why? Is it still dangerous on a personal non-networked computer? In particular, why shouldn't I run the file manager as root administrator?
0
votes
1answer
34 views

How to totally remove the whole root administrator thing?

I don't want to get snagged up on the root administrator business in Ubuntu. I want to be able to put things in directories and remove them without long command line conversations (that I have to ...
-5
votes
1answer
276 views

Run application as root by default

I have just installed WebStorm on my Ubuntu Desktop 14.04. The project I am working on uses git. If I run WebStorm from Launcher I cannot do a lot of things that need root permissions (of course). I ...
0
votes
0answers
71 views

Trying to reset root password, nothing is working? [duplicate]

I'm borrowing my sister-in-law's Acer One laptop that she used once and if runs Ubuntu or Windows 7. All I want to do is connect to my wifi but it's asking me for a root password but she has no idea ...
0
votes
3answers
55 views

Issue with folder permission [closed]

I created a bunch of files using the terminal. The file was assigned to the root and I am not able to edit them. Help! What am I missing? New to Ubuntu.
2
votes
1answer
63 views

Employee left blank password on Ubuntu 15 graphic install [closed]

My boss wants a blank password on the desktop running the Ubuntu 15.04. The system logs me into the account directly but whenever I try to sudo command anything and it asks for the password, leaving ...
0
votes
1answer
93 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
187 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
30 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
92 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
50 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
386 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
202 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
37 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
120 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
48 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
64 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
209 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
48 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
68 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
103 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
359 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
218 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
266 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
161 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 install....
1
vote
1answer
130 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. ...
2
votes
2answers
581 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 "...
1
vote
0answers
37 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
783 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 ...
3
votes
2answers
4k 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 ...
5
votes
4answers
257 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
1k 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
1answer
173 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
1k 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
193 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
1k 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: ...
3
votes
2answers
3k 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 ...
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 ...
0
votes
1answer
44 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 ...
6
votes
1answer
2k 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
131 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
106 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 ...
3
votes
1answer
104 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
430 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 user@...
0
votes
1answer
53 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 root)....
2
votes
2answers
530 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
140 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
146 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
295 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. ...
0
votes
2answers
72 views

Where can I find a compact list of basic commands for the root shell prompt?

My computer is only stable in Recovery Mode. I want to save the files on the HDD before I format the disk and do a fresh OS install. Are the commands for the root shell prompt the same as the ones ...