Root is the superuser of Ubuntu. Questions about the / or /root folder are better suited for the "filesystem" tag.

learn more… | top users | synonyms

1
vote
0answers
38 views

Allowing Ubuntu user on ec2 to upload and manage files in public web folder

Just created a new ec2 ubuntu instance, and i'm forced to login as ubuntu rather root. While Its ok as of standard security practice but it creates additional problems that ubuntu user cannot upload ...
1
vote
1answer
335 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
0answers
39 views

How to access the user environment from a dpkg hook/application ran as root?

I have an application that is executed each time dpkg is called using a hook DPkg::Post-Invoke {"<path to my app>/my-app";}; The application needs to read the gsettings of the current ...
1
vote
1answer
331 views

What does “.bashrc or prepend the Anaconda install location” mean?

I installed Anaconda from root, after completion of installation this message was displayed on terminal screen: Python 2.7.8 :: Continuum Analytics, Inc. creating default environment... installation ...
1
vote
1answer
138 views

cannot use sudo after using sudo passwd root

My System problem detected when I tried sudo passwd root in my ubuntu. I changed my root password by using the below command. sudo passwd root Now my system password changed, after this i could ...
0
votes
1answer
746 views

what does this mean in detail? -rwxr-xr-x 1 root root 920788 Mar 28 2013 bash [duplicate]

can anybody help me with what this means: -rwxr-xr-x 1 root root 920788 Mar 28 2013 bash and explain it in detail.
0
votes
0answers
99 views

How do you install Ubuntu Server with only the root user?

I'm creating a Linux Server Administration guide on my website and would like to start out with only a root user and go from there. Thanks in advanced.
1
vote
1answer
270 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
0answers
113 views

Nemo (run as root) can't access Trash-folder in the “Places” bar, but only navigate there manually

When I run Nemo and select any folder, right-click and chose "Open as root..." and then delete a file from that root-Nemo window, it gets moved to root's Trash folder (/root/.local/share/Trash). Now ...
1
vote
1answer
1k views

Why there is no password to root under Recovery Mode?

I am trying to understand this situation... Today I got a problem with de sudoers file since I modified and got problem whit this modification. So the only way to solve the problem was to modify the ...
2
votes
3answers
3k views

Cannot remove file from trash that was put there as root

I know about the dangers of using root access so please forego the lectures. I try to be careful and will be doubly so from now on. I was using the file browser with root access in order to change ...
2
votes
2answers
152 views

Whats the difference between SUDO and Changing to root [duplicate]

If I issue a sudo /bin/bash` [sudo] password for mark: cmp -bl /dev/blah1 /dev/blah2 and using sudo cmp -bl /dev/blah1 /dev/blah2 then logging in as root? I don't see whats different, if ...
0
votes
1answer
35 views

I have absolutely no access to any of my files

I had to reinstall Ubuntu due to an issue with the menus and after installing it and updating everything I have absolutely no access to anything even though I am the administrator account.
-1
votes
1answer
89 views

Run cronjobs as root while Apache is running as a non-root user

im building a simple Web Application which runs on a tiny device (Odroid C1 with Ubuntu Server 14.04).. the web application will use php.. my problem is that i want to create a "Settings" page where ...
37
votes
1answer
51k views

How do I boot into a root shell?

When booting to the graphical desktop fails we sometimes are recommended to boot into a "root shell" or to boot in "recovery mode". How do I do that?
0
votes
0answers
25 views

Why are ext4 filesystems owned by root?

I formatted a flash drive to ext4 and created a new partition on my hard drive with fs type ext4. Both were owned by root and I had trouble writing files. Why does that happen? Also, if that has no ...
0
votes
4answers
274 views

How does one read the contents of a text file located on the desktop using the terminal? [closed]

I recently failed to properly upgrade from ubuntu 12.10 to 14.10 and I'm having all sorts of GUI issues with Unity, Gnome & other interfaces as soon as I log in. I don't have access to most basic ...
0
votes
1answer
95 views

Root directory on 14.0.4 [closed]

i am a newbie with ubuntu 14.0.4 desktop platform just installed it on my oracle virtual box. can't seem to be able enter my root directory. Any help please.
0
votes
0answers
22 views

Trying to login using sshfs into Ubuntu

Im using amazon web services, and I've setup ubuntu on there. Im now trying to get access to the files on the websites running with their corresponding users and folders in /home/. Normally, you ...
1
vote
0answers
122 views

Problem with initramfs, when startup

I have this problem since last two days. I don't know what's wrong. I am using Ubuntu 14.04 LTS on my Acer Aspire A0725. When my system starts, it shows a message like this: Gave up waiting for root ...
1
vote
1answer
90 views

how to create admin account as a duplicate root account for telnet and disable root login over network?

I've been searching for the answer to this but all I find is "It doesn't work". I am a new, yes. I am still a student and i still learn about it. I am happy to break my OS and format it many times if ...
2
votes
4answers
55k views

How do I gain Root privileges?

How do I gain Root privileges in Ubuntu Desktop 12.04? I installed to a usb stick to try it out. Now when I installed it on a VM, I don't have the same options as I did on the usb stick. Such as ...
2
votes
2answers
102 views

How to prevent file owned by root when using `sudo gedit`

When using gedit , i always need to edit file in /etc/ or /usr/ which need to be root. So i created a Launcher shortcut on the left with command sudo gedit. So every time i click the icon on the left ...
0
votes
1answer
106 views

root@localhost permission denied

I installed ssh in my Ubuntu 14.04. I followed a tutorial for generating ssh keys. I used following commands to set the keys. ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> ...
0
votes
0answers
29 views

Permission of files which are in a folder doesn't change from root

I had a problem with installing Virtualenv, Python3.4 and Django 1.7, so I entered as root and became successful to install them. but know I am being encountered with permission limitations. all of my ...
0
votes
1answer
21 views

problem whle installing ubuntu

I am trying to install ubuntu from the hard drive.When the home screen appears after restarting the computer a message says that "No root file system is defined"(as superuser).I partitioned my hardisk ...
0
votes
1answer
21 views

more install problems

alright so got through the entire process of installing Ubuntu I thought. I even got on it and was working on it all day yesterday. today I restarted my computer to make sure I could still get on. and ...
7
votes
2answers
3k views

How to hide files and folders in Nautilus?

I want to hide, most of the folders in root (/) using Nautilus. Probably the only folders in / I want shown are /home and /tmp. In addition to hiding folders, I also want to hide two files: ...
1
vote
3answers
6k views

How do I access the file system as a root or owner?

I need to add online store configuration files in file system var/www. but I can't access the file system, because it says that only owner can access it, the owner is root. So, how can I access those ...
-1
votes
1answer
468 views

Low disk Space in Root Filesystem Error

The system gives me the following error: The volume "Filesystem Root" has only 713.9 MB disk space remaining. You can free up disk space by removing unused programs or files, or moving files to ...
0
votes
2answers
122 views

Unable to disable ssh root login [duplicate]

Unable to disable root login on Ubuntu 14.10 login as root vi /etc/ssh/ssh_config PermitRootLogin line is not here so i add it service ssh restart root login still works. I even restarted the ...
1
vote
4answers
225 views

How do I check if my root password (login) is disabled?

I accidentally enabled(set) my root password (by default it is locked), and now I want to "undo" it. I used both commands sudo usermod -p '!' root and sudo passwd -dl root in that order. How do ...
0
votes
0answers
67 views

How to add User from GUI in lubuntu? Asks for root password

I'm trying to add a new user by going to "System Tools" -> "Users and Groups". Now when I click "Add user", a dialog pops up asking for the root password I can not select any other identity than ...
0
votes
1answer
1k views

sudo must be owned by uid 0 and have the setuid bit set

I am trying to run the following command: d@d-Aspire-M5 ~ $ echo "My username is: `whoami`" My username is: d d@d-Aspire-M5 ~ $ sudo chown -R `whoami` /usr/local/lib/node_modules sudo: /usr/bin/sudo ...
0
votes
1answer
182 views

Why the file has 0755, but 'Permission denied'?

Why the file has 0755, but I got an error 'Permission denied'? root@vagrant-ubuntu-trusty-64:~/.rbenv/versions/2.2.0/bin# ls -la total 14000 drwxr-xr-x 2 root root 4096 Feb 9 20:25 . drwxr-xr-x ...
5
votes
5answers
27k 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. ...
1
vote
0answers
67 views

Ubuntu 14.04 root is required to run programs properly [closed]

I have recently installed Ubuntu 14.04. I like it a lot, however I have several issues with my access to almost everything. Here is a few examples: MysqlWorkbench: If I am starting this program ...
0
votes
2answers
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?
3
votes
2answers
107 views

sudo does not change sysfs parameters [duplicate]

I can not run following command with sudo to change a sysfs paramete: $ sudo echo 300 > /sys/block/md0/md/stripe_cache_size bash: /sys/block/md0/md/stripe_cache_size: Permission denied However, ...
0
votes
1answer
39 views

confused about keys and using it with multiple computers

well I am confused about the keys and security. Ive tried searching for a answer, but I just wind up more confused Anyhow, my linux box, called skyline, has ssh enabled and I also edited the ...
0
votes
1answer
158 views

Can't access “computer” folder from Terminal in Ubuntu VM running in VirtualBox

I'm running an Ubuntu 64-bit Ubuntu 14 VM using VirtualBox on Windows 8.1. I wish to access the computer folder from Terminal, but I currently can only access it from the file browser GUI. I'm very ...
0
votes
0answers
121 views

unable to delete older kernel image files & folders in Ubuntu 12.04

Prior to posting I have made attempts to find the answers among existing posts, however I was unable to find anything which worked. I am trying to clean up a HD which has only 4GB of free space. On ...
1
vote
2answers
619 views

Difference between `sudo su` and `sudo fish` [duplicate]

I am running fish (Friendly Interactive Shell) as my standard shell in Ubuntu 14.04, rather than bash. I noticed the following behaviour and don't know, if any of these are the preferred one to gain ...
9
votes
6answers
19k 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?
2
votes
1answer
157 views

Ubuntu no longer prompts for root privilege (but doesn't give it either)

So on 14.04 LTS I was playing around with some settings to solve another problem, and somehow managed to screw things up and now Ubuntu no longer asks for root privileges before trying to perform ...
0
votes
1answer
78 views

How can I get a .sh file to run as Sudo in profile.d?

I have a .sh script that needs to run to check if a machine has had certain parameters set. I've placed it in the profile.d directory but I need this script to run with sudo privilege. Does anyone ...
4
votes
4answers
27k views

What is the password for ``ssh root@localhost``?

I need to ssh to localhost using root account, by ssh root@localhost. When it prompts for passwords, I can not login with all possible passwords. On setting of localhost machine, regular user xxx and ...
0
votes
0answers
84 views

How to install applications through a standard user account with blank password

In standard user account with no password specified, I want to use apt-get which subsequently requires the password of the current account. (I have the administrator password): user@System:~$ sudo ...
0
votes
1answer
254 views

Permission denied for root@localhost [duplicate]

I installed ssh on my laptop running Ubuntu 14.04 LTS when I open terminal and type "ssh localhost" it seems to work fine, I get the notice displayed and the last log in time. like below ...
0
votes
1answer
62 views

root file system? [duplicate]

tried installing using wubi, CD and usb. Only the wubi and the cd was able to boot, but then a message popped up while verifying, failed to partition the selected disk and no root file system. I want ...