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

Ubuntu : Delete part of root .bash_history without traces

The .bash_history file of root may look like: line 1 line 2 line 3 line 4 Now I delete lines 3 and 4 su vim ~/.bash_history #delete line 3 und 4 with dd line 1 line 2 :wq ENTER CTRL + D ...
1
vote
1answer
130 views

Apache server root access from Netbeans

I get this error warning when I select to copy project files from source folder to another location (my apache root: /var/www/html/) "The directory must be accessible via your web server at URL http://...
7
votes
1answer
384 views

Which files are sourced when using su -c?

Context You are working on Ubuntu LTS 14.04. You are logged in as the root user. You run the following command: exec su simple_user -c "/bin/bash /etc/init.d/simple_user_service" So that the "...
0
votes
1answer
55 views

FPS drops when using compton as non-root user

With an intel HD Graphics 5500 on Xubuntu 14.04 LTS (compton version git-v0.1-beta2.51-g65e655e-2014-11-30) I'm experiencing a different behavior with compton : when started with non-root user => ...
0
votes
1answer
33 views

Reset directory owner [duplicate]

Believeing I was in another directory I accidentally ran the following command on the root: sudo chown -R j:root / My username is j Unfortunately because of this I am unable to run any sudo ...
2
votes
1answer
191 views

How to free up space on filesystem in /dev/sda2 root partition?

My root partition (/dev/sda2) always fills up. The folders with the largest capacity are /usr and /var. I need either a way to clear up space or to resize partitions without formatting. I do not have ...
0
votes
1answer
425 views

ubuntu drop to root shell prompt asks for password

I'm using ubuntu 14.04 and I messed visudo and now sudo code is not working. So, I tried to fix it but because I'm not root user, I can't access to visudo to fix what I messed. so I tried reboot and ...
0
votes
0answers
48 views

Virtual Box in superuser

I'm trying to start virtualBox in root user, but appears a grey window, with anything. It shows normally if I start in my user, how can I fix this??
0
votes
0answers
142 views

When installed updates, opened 2 sessions for root?

I installed yesterday few updates for Ubuntu, and I always take a look at the logs for anything suspicious. Yesterday, while I was installing the updates, I saw this at auth.log Oct 5 21:49:23 nori-...
0
votes
0answers
68 views

Ubuntu set ftp user root path to home

I have created ftp user "ftpuser" on my ubuntu vps. This user have access to /home/ftpuser path. Now I want to have root path to /home directory with this user. Because I also have some ...
5
votes
2answers
729 views

Accidentally moved directories under root

I've accidentally made this sudo mv /* /applications/minced/ instead of sudo mv ./* /applications/minced/ This is all what's left in the root directory user@server:/$ / applications/ dev/ ...
0
votes
1answer
45 views

Convert Ubuntu to _not_ using sudo

I've searched this forum but not found an answer. I've a user that uses sudo I've set a root password so I can use su What I would like to do is remove the use of sudo, so that the system asks for ...
0
votes
2answers
660 views

“No protocol specified , Could not open X display” error when Running bleachbit as root on KDE

I have this error when running bleachbit through sudo or as root: ~$ sudo bleachbit No protocol specified /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open ...
1
vote
2answers
613 views

Trying to change file in recovery mode and getting “E138 can't write viminfo file”

I need to change a file (10-evdev.conf) while I am in recovery mode. However, I am getting this message: E138 Can't write viminfo file /root/.viminfo! What should I do in this situation?
2
votes
1answer
584 views

How to extend root partition using unallocated space?

I got a filesystem root has 0 disk space error while upgrading Ubuntu, so I've opened Windows 8 and shrinked C drive. Now, I have a 100 gb unallocated space but I see that I cannot merge it to sda9(...
0
votes
0answers
28 views

why the first to switch root user password is required ?

When I Bahrain ubuntu system , the first time in the terminal to switch to root users are prompted for a password , I did not remember to set the root password when loading system . Who can tell me ...
1
vote
3answers
158 views

root and /home in different partitions

I installed in my HD, Fedora22 and ubuntu MATE 15.04. I did a 4 partitions. At first I installed Ubuntu with 2 partitions, / and /home. After that, I rebooted and installed the Fedora22, just / (root) ...
0
votes
1answer
154 views

SSD-caching vs OS on SSD - which is faster?

I have an Alienware laptop with a 750GB HDD and a 32GB SSD-cache. I currently have a Windows 10 partition that I only use for maintaining the SSD-cache and drivers. The laptop is useless for gaming ...
0
votes
1answer
381 views

How to install ROOT cern on Ubuntu 15

shinee@shinee:~/Downloads/root$ sudo apt-get install libx11-dev Reading package lists... Done Building dependency tree Reading state information... Done Package libx11-dev is not available, but ...
0
votes
0answers
88 views

Ubuntu 14.04 Samba 4 root password

I am about as entry level as they come as far as Linux and servers go. I am trying to set up a domain controller using Samba 4, I have everything installed on a VM and it boots up perfectly fine, but ...
0
votes
0answers
47 views

I Can't access with root user to ssh. (before works fine)

I have a Ubuntu server with plesk and I sometimes access to ssh. But it is not frequent. But one day I trying to access it. The server cut the connection after root access. Then the validation is ...
0
votes
0answers
23 views

ubuntu and rebooting with root users logged in?

so I recently ran into an issue at home, I have an ubuntu machine that I've configured to allow a central machine to login as root with an ssh key, I'd logged in from terminals A & B and connected ...
5
votes
2answers
366 views

Exit from both root and user with one command

I know about "not using sudo su -" etc. But let's be honest, almost all of us do it. So, here is the issue. We can't have root logins enabled, so we have to ssh in as our user then su to root. Here ...
1
vote
1answer
174 views

Does udev need sudo in run?

I've got a udev rule that is properly matching, but it is not executing the command in the RUN+="/usr/bin/synclient TouchpadOff=1" properly. If I change that to be some sort of test shell script then ...
2
votes
2answers
595 views

Mount file without root

I have a file with an ext4 file system in it and want to mount it without using sudo every time (the script should run with user rights). The file I want to mount and the folder which I want to mount ...
0
votes
0answers
57 views

Why does running a file manager as root mess up the permissions in the home directory?

I understand that on occasions when running your file manager as root, with the command: sudo nautilus For instance, that it messes up your home directory's permissions so that files get owned as ...
0
votes
0answers
58 views

.bash_history of root account on Ubuntu Server 14.04

Last few hours I'm looking for a solution to enable saving of bash history on root account of Ubuntu Server 14.04. I'm not using root account, because I created my own, but some other users are still ...
0
votes
1answer
29 views

root takes up entire internal hard drive

I have a 500 GB internal hard drive and I cannot paste anything to it. The entire hard drive is labeled as root. Although I can use the space through sudo nautilus, this doesn't let me play any music ...
0
votes
0answers
28 views

overwritten some files and folder in root partition

while i was trying to use UNetbootin to create a live USB for Ubuntu i accidentally hit enter while the root partition was selected and not the USB drive , so UNetbootin extracted the "iso" content ...
0
votes
1answer
144 views

What is the default root login password for ubntu desktop iso

I tried installing ubnto 14 on a virtual box. During the install, I was asked for a customer username and password. But am unable to login as root ( using 'su' command ). AM getting an incorrect ...
0
votes
1answer
492 views

getting error for knife bootstrap on ubuntu chef node

Getting knife bootstrap error on ubuntu chef node $ knife bootstrap 52.8.178.221 -x ubuntu -i ~/Keys/chef1.pem mkdir: cannot create directory ‘/etc/chef’: Permission denied 52.8.178.221 bash: ...
2
votes
1answer
119 views

By default, who is allowed to gain root privileges with pkexec?

I learned today that one can use pkexec from the command line, in a manner similar to sudo, to execute programs with root privileges. I am curious how pkexec decides who is allowed to do this. The ...
7
votes
2answers
428 views

How to make it so that a file can only be executed by root, but not as root?

There are certain applications that I don't want people to be able to open unless they have root privileges, however I do not want to give the programs root privileges. So how can I make it so that ...
0
votes
1answer
50 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
241 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
68 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
53 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
61 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
92 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
177 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
87 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
355 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
189 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
113 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
47 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
63 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! ...