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
21 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 ...
33
votes
1answer
42k 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
5k 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
12 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
95 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
38 views

Root directory on 14.0.4 [on hold]

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
5 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
21 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
23 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
46k 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 ...
86
votes
18answers
22k 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. ...
2
votes
2answers
73 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
25 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
17 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
6k 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
20 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: ...
1
vote
3answers
5k 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
58 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
49 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
45 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
28 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
45 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
56 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 ...
-1
votes
0answers
11 views

How to bring back the user in log in screen?

Yesterday, i've tried to change my user to root, so i edit /etc/passwd and change its uid and gid to 0. But i found some problem, so i bring its uid and gid back to its original one (which is 1000) ...
-1
votes
0answers
29 views

Using Gparted to resize (shrink) the root partition

Due to some reasons I made a root partion (/) of 65GB. But now I don't have so much space any more so is it fine if I used Gparted live ISO to shrink /root partition to some size of 25 to 30 GB. Is it ...
5
votes
5answers
24k 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
41 views

Ubuntu 14.04 root is required to run programs properly [on hold]

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
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 ...
0
votes
2answers
1k 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?
2
votes
2answers
38 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
20 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
45 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
61 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
474 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 ...
4
votes
6answers
12k 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
121 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
30 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
22k 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 ...
8
votes
4answers
67k 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
51 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
74 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
41 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 ...
-2
votes
2answers
53 views

How do you delete a file in ubuntu? [closed]

I need to delete a file how do i do it?
0
votes
0answers
38 views

Downloading KDM Theme in Kubuntu 14.04

Kubuntu blocks KDM from accessing downloaded login screens without "sudo systemsettings" root privilege command in terminal, how do I make a permanent root privilege for kdm? I know in Ubuntu this is ...
1
vote
1answer
76 views

SU setgid: PERMISSION DENIED, SUDO: PERM_ROOT 0, -1, 1 PERMISSION DENIED

Hi I have a problem that I cannot solve. I cannot log into root, su, or sudo. Everything works fine via ssh so I tried on ssh via putty: Set root password: sudo passwd Add user to sudo/admin ...
1
vote
1answer
21 views

On what folders never to use rsync on?

Excluding all subvolumes of the / folder with rsync -x what other folders should one never rsync? For example /dev sounds to be a bad idea for rsync.
0
votes
1answer
36 views

Is it good practice to run applications with sudo?

For example, I am using Spotify for linux. Wouldn't I need to run it in sudo so that it can write its song cache to my file system? Also, if you run a program from the launcher, does it get sudo by ...
1
vote
1answer
2k views

Mounting samba share with root priveleges 12.10

How to permanently mount samba share with root priveleges? I've used this FAQ but still getting the same error. The point is i don't want to send credentials in plane text. User credentials file: ...