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
0answers
27 views

Disable Root — what password will it ask for when I do Sudo

My web-host recommends disabling root. I've created a non-root-user with a non-root-user's-password in the sudo group. So far so good. Here's my question. Usually, when I do sudo, Ubuntu asks for ...
0
votes
0answers
54 views

Error while compiling softwares using make: cannot find -lXm, -lXt, -lX11

make compilation showing errors like /usr/bin/ld: cannot find -lXm /usr/bin/ld: cannot find -lXt /usr/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status make[1]: *** [candle] Error ...
1
vote
1answer
51 views

Root access stripped off my user [closed]

I think my user id has been stripped off its root access. I can't do anything on the GUI interface, can't mount drives, can't update softwares (only partial update allowed), can't add or delete users ...
2
votes
2answers
52 views

When one disables the root account via the terminal, what output can one expect?

When I used Ubuntu for the first time, my friends told me to enable the root account, and I enabled it. But, I know that I already reinstalled Ubuntu few times, but in this last time, I don't know if ...
0
votes
1answer
63 views

lightDM GTK greeter won't log in unless root

I've been building an Ubuntu distro from the ground up, and I decided to use the LightDM GTK Greeter. Everything is going good, until I decide to log in to the non-root account. If I try to log in to ...
0
votes
0answers
69 views

MYSQL How to delete and set permissions to root@localhost

I have a problem using mysql, I keep getting this error message for the root user (access denied) : julian@julian-desktop:~$ mysql -u root ERROR 1045 (28000): Access denied for user ...
0
votes
2answers
104 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 ...
0
votes
2answers
38 views

Can't log in: Can I get files using tty1? [duplicate]

My Ubuntu wont log in. If I type a correct password it just goes to a blank unity wallpaper and back to the log in screen. Funny It's being buggy when I decide to switch back to windows after a month ...
1
vote
0answers
100 views

Root HTC One m7 with Ubuntu

Is there a easy way to root HTC One M7(Lolipop) with Ubuntu 14.04 LTS? I am a beginner with Ubuntu.
0
votes
0answers
43 views

First time ubuntu user

I have recently switched from Windows to Ubuntu. And I have no idea how to copy my files/folders from my external Hard drive. I could do once through using gksu nautilus command. But, am unsure how I ...
3
votes
2answers
193 views

What is “root” and how can I become it? [duplicate]

When I ran a command, I got the following error: You need to be root to perform this command. What is root and how can I become it?
3
votes
0answers
54 views

No desktop after enabling root in Ubuntu! [closed]

I have enabled root account on Ubuntu 14.10. After that, I logged out and logged in, but there is no desktop and no bars. I tried opening a terminal using keyboard shortcut but nothing is working. I ...
0
votes
0answers
32 views

Trying to execute a process with pkexec asynchronously and get 'Refusing to render service to dead parents'

I'm trying to execute a process as root from my application that runs with regular privileges using pkexec. When I invoke pkexec synchronously everything is fine but when I run it asynchronously with ...
0
votes
0answers
7 views

Managing permission for multiuser manual installation in /opt [duplicate]

Similar questions have been asked but I can't seem to find a proper answer. Basically, I am installing several application manually e.g eclipse, android-sdk, android-adt, arduino etc. and have ...
0
votes
2answers
180 views

Why does root get “Permission denied” when trying to create this folder?

Why does root get "Permission denied" when trying to create this folder? root@donhy:/var/www/clients/client2/web2# mkdir bin mkdir: cannot create directory ‘bin’: Permission denied ...
0
votes
2answers
58 views

Ubuntu Password Change [duplicate]

I am trying to change my password. I was able to change the password using the root shell, then I rebooted my computer. I tried to login using the new password and it seemed to work, but after putting ...
0
votes
2answers
77 views

Stop prompting for password every time I do something requiring privileges

I didn't see this answered satisfactorily anywhere, so I figured I'd ask. Every time I go to do something requiring privileges, such as install a program, open restricted folders, etc., I'm prompted ...
2
votes
1answer
261 views

“gedit” does not launch as root: “CRITICAL: file log.c …”-error (no gksu problem!)

I am running Ubuntu 14.10 with XFCE. Since a few weeks, gedit is not launching any more as root (with gksu gedit). Launching with my normal account works without problems. The problem is not gksu, ...
1
vote
2answers
81 views

permanent terminal with root [closed]

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 ...
0
votes
2answers
116 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
26 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
96 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 ...
25
votes
9answers
92k 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
17k 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 ...
3
votes
1answer
439 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
39 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
83 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 ...
12
votes
5answers
101k 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 ...
-1
votes
1answer
89 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
51 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
0answers
42 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
506 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
48 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
502 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
175 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
876 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
135 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
358 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
124 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
170 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
121 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
53k 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
27 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
428 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
101 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
23 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
135 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 ...