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
6k views

Running Composer without using sudo (tried changed owner and permissions)

Every time I run composer (e.g., sudo composer install, sudo composer self-update etc.) I need to run this with sudo as the owner of the file is root. However every time I use the composer with sudo ...
0
votes
1answer
25 views

I'm never ever able to login to my console (Alt + Ctrl + F1)

I'm not able to login to my console from a long time. Facing this issue with pc and my laptop too. I thought this could be my Keyboard layout problem because my keyboard is 13 years old yeah even ...
0
votes
1answer
39 views

I can't update any packages nor can upgrade and all this started when I tried to install flashplugin which popup after I tried to upgrade last time

sudo apt-get update sudo: unable to mkdir /var/lib/sudo: No such file or directory [sudo] password for md: E: List directory /var/lib/apt/lists/partial is missing. - Acquire (2: No such file or ...
0
votes
2answers
34 views

accessing Desktop from Root directory

I was using aircrack-ng package in my ubuntu 15.04. This package works only under root privileges. Now I want to save .cap file on my desktop using airodump-ng package but everytime I do, it throws an ...
3
votes
3answers
5k views

How do you get to the root directory that I need to delete a file in?

I need to get into the root directory to delete a file. How do I get there?
0
votes
3answers
49 views

Trying to get Root Privileges for Ubuntu 15.10 [duplicate]

I'm trying to run GParted, but it says that I need root privileges. How do I get them for Ubuntu 15.10?
132
votes
18answers
45k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
3
votes
0answers
34 views

Loosing Root Access On USB Disconnect

When I plug in my usb and then unplug it I unexpectedly loose root access on my computer. Furthermore, when I reboot my computer it prompts me with the message saying Errors were found when reading ...
1
vote
0answers
51 views

fstab owner permissions

I have set up line in fstab that goes like this: /media/unas/raidstore /home/unas/raidstore none bind 0 0 It works a treat, except I can't set user privileges: they keep reverting to root, ...
0
votes
0answers
31 views

Enlarge root partition on Ubuntu 15.10 with encrypted disk

I had Ubuntu 14.04.4 installed but I messed around too much so decided to install 15.10. I had some problems on 14 with the root partition not being big enough so I wanted to avoid this on 15 by ...
0
votes
0answers
40 views

How to make free space in root

My root partition is 100% full and I couldn't login. I just ran apt-get autoremove to make some space but it's not enough. I want to create enough free space for the OS so it can breathe. What can I ...
0
votes
1answer
70 views

issue with root access etc

I cannot do anything in ubuntu without being root all of a sudden. When I run emacs it says it cannot access files (and will run in sudo and works fine). firefox throws security issues until im root ...
3
votes
1answer
30 views

Revert root passwd to its default “empty”

It is said to be more secure. Having root with a password, how do I revert it to be empty? This documentation is pretty explanatory: https://help.ubuntu.com/community/RootSudo And the command would ...
0
votes
3answers
41 views

add a user named root

My cloud servers on Ubuntu 14.04 have a user named root. Locally (not on the cloud), when I use System Settings > User Accounts there is no user named root and when I attempt to add one it does ...
2
votes
1answer
11k views

How to configure SFTP to login in the “/” directory?

I want to login as root and make the / as the default directory in SFTP. Newbie help needed
4
votes
6answers
21k views

Unable to login as root from the login screen even though I have a root account

I have installed 12.04 LTS but surprisingly not able to login as root. I have unlock and set the password for root but while login i can not see 'other' option in GUI login where i can put root id and ...
0
votes
1answer
29 views

Copy of the file /bin/sh not executing as expected

I have Ubuntu installed in VirtualBox on Windows 10 only for two days, so this may sound silly. I have a reasoning problem somewhere and I don't know why. I copied the file /bin/sh to my own directory,...
0
votes
0answers
26 views

Is it possible to have a root account? [duplicate]

I would like to have a separate root account on Ubuntu, in the same way as there are separate root accounts on other Linux systems. I don't want to use sudo, but prefer to actually login as root. ...
2
votes
0answers
51 views

OpenSSH asks for root@hostname password instead of user@hostname password

So I have this other desktop PC, that serves as my server, primesystem and a laptop as my client, zerosystem that is connected to it. They both serve as my ssh-server and ssh-client respectively, and ...
0
votes
0answers
39 views

How to enable root user in Ubuntu 15.10? [duplicate]

I have tried this command several (sudo passwd root) times and whenever I restart after this root login does not show up. Or is there any other way using GUI instead of terminal in Ubuntu 15.10?
0
votes
0answers
31 views

Why every time I login as root there's an error showing up?

Every time i login as root it shows this error: bash: /root/.rvm/scripts/rvm: No such file or directory Why does that happen and how to fix it?
0
votes
1answer
25 views

permissions, changing ownership

I have a flash drive which contains recovered files from my old mac, I installed Ubuntu just to recover these files, I have no other purpose for the OS. The drive shows owner "Root" and the files are ...
1
vote
1answer
42 views

How to be root on liveUSB? [closed]

As mentioned in this question, the sudo command in my live USB is not working. To fix this I need to run some commands. But every command I run says permission denied. How do I gain root access? ...
14
votes
3answers
34k views

Adding NOPASSWD in /etc/sudoers doesn't work

On 14.04 here. I SSHed into my machine, added the following line to /etc/sudoers: myuser ALL=NOPASSWD: ALL And then tried running: sudo mkdir /etc/blah ...and I'm being asked for my password. ...
0
votes
1answer
45 views

Close terminal for multiple users [duplicate]

Let's suppose I run the terminal as <username>. Then I switch to root: su - root and then back to the <username>. So I was wondering if there's some option (or some other command) for ...
0
votes
0answers
16 views

help with understand [duplicate]

im a beginner with linux terminal and I'm trying to understand why i can't access to root file even I'm using sudo command line: pwd = / sudo cd root result : sudo: cd: command not found anyone ...
62
votes
6answers
105k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log in,...
4
votes
2answers
26k views

How to come out of root user?

I just gained root access following steps from the http://www.wikihow.com/Become-Root-in-Ubuntu. My prompt get changed from $ to # sign, indicating I have root access. Now I have come out or log out ...
0
votes
1answer
61 views

how do i copy my ssh public key to a new user ubuntu 14.04

Sorry if this question has been asked before, but i cannot find it anywhere here or on google. I set up public/private keys, imbedded into my VPS server successfully, it fully works using putty and ...
0
votes
0answers
58 views

How to prevent sudoers from changing the root password unless they know the current root user password first

I want to give a developer sudo access, but giving him sudo access would potentially allow him to change the root password and lock me out of the server. I just created a demo account, added it to ...
-3
votes
3answers
62 views

superuser. What is it? and how do I get that premission?

I'm attempting to manually configure dpkg due to package manager warning. E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. I enter the code. 'dpkg --...
1
vote
2answers
65 views

Give web sever directory full permission [duplicate]

I managed to change DocumentRoot directory form /var/www to /home/user/www and working fine except the problem that I can not copy/paste or even delete any file without root access. Since I use SASS ...
1
vote
1answer
41 views

Can you make `su` require a password, even if called with sudo?

So, I recently secured my root log-in and all sudo requests with 2-factor authentication. However, I noticed that if a user with sudo access that does NOT have 2FA enabled could easily sudo su and ...
5
votes
6answers
34k views

adbd cannot run as root in production builds

I am trying to install Ubuntu Touch on my Galaxy Nexus, but it says adbd cannot run as root in production builds. I tried a lot of stuff, including a few instructions from Ask Ubuntu, nothing helps. ...
2
votes
2answers
3k views

How to run programs as root user without using Terminal

I want to run the programs as root user without using the terminal command line, is that possible to do like that? if yes tell me please. Thanks.
1
vote
0answers
24 views

Increase the root partition size on Ubuntu Server 14.04

How can I increase the root partition size of a virtualized Ubuntu Server 14.04 using the CLI?
0
votes
0answers
78 views

Is it safe to change ownership of all files in “/root” folder to “root:root” recursively?

I mistakenly ran chown -R buttle:butkus *;chown -R buttle:butkus .* in the /root directory. I killed the command but it definitely changed a lot of files' ownership before I killed it. So a lot of ...
0
votes
1answer
62 views

Ubuntu Live Cd Security [duplicate]

I am new to Linux so i have some concerns regarding live cd . If i can log in the system with the live cd and get root access then any on can do the same , so my question is how to stop anyone using ...
-4
votes
2answers
84 views

Passive Root Usage Program/File Type [closed]

As opposed to my previous phrasing asking quite simply Fastest Way to Give a Virus to Ubuntu?, this is re-phrasing it into a question that it inside the boundaries of the help center. I would like to ...
1
vote
1answer
127 views

Hide files from root in ubuntu

My question would be a little bit silly, but who knows because linux is a very rich and sophisticated OS. Is there a way that a normal user in ubuntu can hide some files from root ? I know that the ...
3
votes
1answer
33 views

Security risks with fakeroot?

Is there a security risk having fakeroot installed on my system? I can't find much more than was is provided in the manpage.
0
votes
1answer
25 views

Add two root users during installation during installation + managing it - Ubuntu server

I would like to ask you all, that is it possible to enter some kind of script before entering the setup screen to be able to add 2 root users instantly. I am at the beginning of creating 190 virtual ...
0
votes
3answers
29 views

Help with Users in Linux

I need to separate the privileges of two users. One must be able to manage certain folders while the other should manage the rest. My problem is that the root user has all the privileges and could eg ...
0
votes
1answer
382 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
103 views

Changing the color of root prompt in terminal [duplicate]

If I'm going to edit the bashrc file, where do I place the color codes to change the color of the root prompt (and not the normal prompt)? I already have the color for normal prompt changed. But when ...
0
votes
2answers
4k views

How to run Vmware player as root?

I want to use a physical disk in Vmware Player. To do that i need to run Vmware Player as root, how do i do that ? I have tried to start it via terminal but no luck. I have tried to start it via ...
1
vote
1answer
3k views

root shell bash commands not working

I attempted to change my sudo password(I removed myself from sudoers list by mistake). I tried following. In recovery mode, I dropped down to root shell. It is still asking root password. Ctrl D ...
0
votes
4answers
2k views

Why do I get a “cannot execute csh…” error when I try to “sudo su”?

I get this error when I try do sudo su reputa@reputa:~$ sudo su Cannot execute csh: No such file or directory sudo -i is working fine but I want to use sudo su. How do I make it happen?
0
votes
1answer
78 views

How to change root password back to DEFAULT [duplicate]

I already set-up my root password in Ubuntu. But for some reasons now I need to set it back to default as when Ubuntu is freshly installed. I no more need my set root password. How can I set it back ...
12
votes
1answer
86k views

How to install flash payer in Ubuntu 14.04 LTS? [duplicate]

How to install flash payer in Ubuntu 14.04 LTS ? Also how to get the root permission ?...