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
2answers
42 views

Gparted - How to move partition to extend the size

I want to extend the sda1 to take the full unallocated size: The steps are as the following: Move sda2 to the right Increase the size of sda1 to fill the space But the thing is, I didn't get ...
0
votes
1answer
13 views

Unable to boot in default user mode in ubuntu

I executed the following commands on Ubuntu 14.04 taken from How to Become Root in Ubuntu: sudo gedit /etc/fstab sudo passwd root sudo -i Once I restarted my computer I am getting the following ...
0
votes
1answer
10 views

Terminal error output RE: editing .conf file in Xbuntu [owned by uid 1000 istead of 0]

Was curious as to the terminal error output from running sudo Kate. I read in a forum that directed me to open my notepad using gksudo. Realizing that this had not been installed I just went ahead and ...
-1
votes
0answers
10 views

Help xserver run as root problem

I use Ubuntu 14.04, and one time i run xserver from root user, then it some lag and after lags end it ask me to login/ I entered my password and it's have bug and ask again, i entered. I try some ...
23
votes
9answers
79k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
8
votes
4answers
15k views

How to fix sudo after “chmod -R 777 /usr/bin”?

I enetered chmod -R 777 /usr/bin and now sudo is not working. It is giving error that sudo must be setuid root. On looking via Google, some advice said to run chown root:root /usr/bin/sudo chmod ...
1
vote
0answers
2k views

root profile error

I had a problem with my root account on Ubuntu 14.04. when I login by using root account, I received this error: Error found when loading /root/.profile: stdin: is not a tty As a result the session ...
2
votes
1answer
235 views

.dbus folder in home folder belongs root

I have a folder ~/.dbus in my homefolder that is only read and writeable by root: drwx------ 3 root root 4096 Feb 17 17:30 . drwx------ 2 root root 4096 Feb 17 17:30 session-bus Is this the ...
0
votes
0answers
20 views

Ubuntu server wont let me change to root or add my default user to sudoers

So I'm trying to learn how to set up a headless server and I got everything installed I made a root password and that wont work with su and then I try to sudo with my default log in and it wont let me ...
1
vote
2answers
43 views

Root user not having permissions

My root user is not working how he should. sudo works perfectly but if I login with root, autocomplete does not work for all commands which need root permission and I couldn't execute a file owned by ...
31
votes
4answers
52k 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 ...
9
votes
5answers
74k views

How to change root password in ubuntu?

I am trying to change root password in my Ubuntu system. This is what I did: ashot@ashot-desktop:~$ sudo passwd root passwd: Authentication token manipulation error passwd: password unchanged ...
0
votes
0answers
17 views

starting FGS at boot

I am having trouble starting FGS at boot on Ubuntu 14.04 LTS. In the documentation page it reads to set the environments and start the program each time after log in. Anyway, I would like to do this ...
-1
votes
1answer
42 views

I can su root, but can not log in as root? [duplicate]

Usually, it is the other way around...so this might be the first from what I researched. lets say i log on to my server venus as willc86. When I su root, it lets me in. however, lets say I ssh venus ...
1
vote
0answers
28 views

Sudo is not owned by root on a fresh install of 14.04 on a VPS. Huh?

Sudo is not owned by root on a fresh install of 14.04 on a VPS. Not familiar with this stuff. So why, what does it all mean and what can I do about it? Steps are: From the VPS management web pages ...
1
vote
2answers
58 views

permanent terminal with root

Is it bad to have at all times (one) terminal logged in as root? If so, why? (I leave the window with root terminal usually opened because it's much more comfortable than writing sudo before ...
87
votes
18answers
23k 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. ...
1
vote
0answers
21 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
55 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
23 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
38 views

who is the root user in Ubuntu [duplicate]

Who is the root user in Ubuntu or on any Linux based distribution? Is by default the rootpassword for every system running Ubuntu is same.Many documents over WEB supports not to enable root login ...
1
vote
1answer
61 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
333 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
24 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
74 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
38 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 ...
0
votes
3answers
4k views

Get the access to the folder file system/root

I am using a live version of Xubuntu on USB for a extraordinary maintenance of my PC. I have to copy a single file inside the folder file system/root. Currently I can browse the complete folder file ...
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 ...
1
vote
3answers
2k 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
110 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
30 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
40 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 ...
0
votes
2answers
45 views

Use of “cp” command between root user's home and plain root

How do I use the "cp" command to copy files from root@pcname:/home/username # to root@pcname:~ # I have been able to use the "mv" command to move a file, but when I use "cp," it tells me that the ...
34
votes
1answer
44k 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?
1
vote
1answer
6k views

Ubuntu 14.04 LTS Supports Facebook messenger ??… How to install facebook messenger app

I installed ubuntu 14.04 LTS yesterday. While using facebook through browser, it asked whether to install facebook app or not. I said yes and its installed. But while trying to open the facebook ...
0
votes
0answers
17 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
104 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
64 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
10 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
64 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
44 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
48k 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
87 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
54 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
21 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
2answers
7k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I know that some users may say that this is a duplication but seriously I have combed the answers and those on the internet for over half a day and I am so frustrated i am going to explode. Now that ...
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
19 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: ...