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

learn more… | top users | synonyms

3
votes
1answer
210 views

make install - how to use wget, not curl

I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed. Can I use wget instead if this is a ...
3
votes
2answers
427 views

root and home are on seperate partitions, but home still uses up space on root?

When installing Ubuntu 12.10 for the first time, I made sure /home had it's own partition, gave it about 185GB, and gave root ~10GB. Now root is almost full after a few days and I've noticed that root ...
3
votes
2answers
1k views

update-grub is setting a wrong linux root partition

Initially, Ubuntu was installed on another partition (sda5 or sda4). At some point I did manually move the root partition to sda2. Now, the problem is that whenever a new kernel is installed, the ...
3
votes
2answers
554 views

Environment variables in motd not working

I’m trying to send user login logs to my email with the users name and location. After making the script I found that environment variables can’t run in this script, I’m hoping that someone out there ...
3
votes
2answers
390 views

Is it possible to change a program's privileges while running?

Is it possible to start a program normally, and then later give it root or some other level of permission without restarting it?
3
votes
2answers
307 views

How can I sync my root gedit with my user gedit's preferences?

When I open a file with root gedit I'd like to have the same setup as my normal gedit. So theme, preferences, and addons. Can I set up some sym links in the right spot to achieve this?
3
votes
1answer
31 views

Automatically start JetBrains softwares as root (via plank shortcuts) on Ubuntu 16.04

I'm very new to Linux environment, I came from Windows. I've installed Ubuntu 16.04 on my machine (an XPS 15 9550 with a dual boot - Win10), a plank and a theme (macbuntu, don't blame me :p). I'm ...
3
votes
0answers
73 views

How can I use GNOME OSTree with Ubuntu Server minimal

I would like to create a custom Ubuntu based OS using GNOME's OSTree.But I need apt-get and other Ubuntu commands .I am OK with not modifying the root directory by using a chroot to install packages ....
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 ...
3
votes
0answers
75 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 ...
3
votes
0answers
5k views

Unable to open Recovery, at boot, using “SHIFT” key (12.04 LTS)

I have tried rebooting multiple times to try to get to "Recovery" (GRUB 2) by holding down "SHIFT" during boot. I am waiting until BIOS screen completes. I need to reset the admin password because I ...
3
votes
0answers
730 views

sshfs permissions problem — need to be root to view some files [closed]

I'm automounting sshfs shares using a script in /etc/network/if-up.d/ and entries in /etc/fstab. I have keys set up for my user so no password is required. My user (1000) has sudo rights on the ...
3
votes
2answers
24k views

How to recover the root password on ubuntu server

I lost my root/super user password on Ubuntu server, i tried to boot in a "recovery mode", and choosed " drop to root shell", but it is always asks for: Give root password for maintenance (or type ...
2
votes
2answers
1k 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 ...
2
votes
2answers
10k views

Permissions problem when copying files to /usr/share/tomcat6

I am running springsource framework in ubuntu 10.01. In my home folder, I have installed springsource IDE. I have my tomcat6 appserver in the /usr/share/tomcat6. While executing a sample project ...
2
votes
3answers
1k views

What is the largest possible size of a root partition? [closed]

I know that using a boot-able partition over 123 GB is not good but what is the max root size allowable? is there a limit?
2
votes
3answers
170 views

Firefox deletes root protected files?

When Firefox starts, it creates two files in the user settings directory: places.sqlite-shm and places.sqlite-wal and deletes them upon exit. Just for the experiment, I set the permissions of those ...
2
votes
1answer
2k 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
2answers
178 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 ...
2
votes
2answers
5k views

Can't create folders from GUI even though I'm ADMIN/ROOT

I'm pretty new to ubuntu, or linux for that matter, and I'm trying to perform the simplest activity ever, copy and paste a file; for some reason, when I right-click the folder /usr/bin I see that the ...
2
votes
5answers
26k views

Sudo not available in guest login

When I login as guest I am unable to execute any command with sudo. E.g.: sudo ps returns: sudo: unable to change to sudoers gid: Operation not permitted How can I fix this?
2
votes
1answer
22k views

Change Folder & File Permissions for all Subdirectories

I created some files as root that I would now like to be changed to a specific user. How would I do this? I cannot go trough the files one by one as that'd just take way too much time. I would like to ...
2
votes
3answers
2k views

How can I get root-like permissions so I can download stuff from the software center?

When downloading an application from the terminal it said I couldn't download it because I wasn't root, and when I got to search for the specific software in the Ubuntu software center it doesn't even ...
2
votes
2answers
1k views

what happens if all users are set as standard while root password not set

I don't dare to do as in the title. So I set root password first with sudo passwd root, and then I change all other users to be standard user, none administrator, so no user can sudo. If I want to set ...
2
votes
2answers
372 views

mysql don't ask for root password when installing

I use apt install mysql-server to install MySQL on Ubuntu 16.04 but during the installation, it does not ask for root password .After installation it had ERROR 1045 when i tried to login as root ,...
2
votes
2answers
3k views

Lost my root access and unable to install any software or any other priviliged operations

I have been using Precise Pangolin and I am into a problem now :( I was trying to add my current user to the group vboxusers.. So I used the command, sudo usermod -G vboxusers myusername And it ...
2
votes
2answers
5k views

Allow “root” program to run without privileges

I've changed my ctrl-alt-l shortcut so instead of just locking the screen, the system goes into suspend. (for reference, the command is gksudo pm-suspend-hybrid) as you can see, the program needs to ...
2
votes
2answers
10k 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 ...
2
votes
2answers
7k views

No root privileges when using GUI

So I'm logged in as the user 'Shannon', but can't gain root access through the GUI when I'm prompted to install a program for example. However using sudo su, type in the root password, gain access ...
2
votes
3answers
12k views

How to free space in root directory and delete unnecessary kernel files?

Off late I am receiving continuous system alerts regarding low disk space in my root directory. I am given to understand that all my system updates are being saved in my root directory instead of my ...
2
votes
2answers
9k views

Graphical authentication works; why does sudo say my password is wrong?

I'm trying to install a theme, and when I enter the command sudo cp -r $HOME/Desktop/Overglossed /usr/share/themes the terminal asked for my sudo password which I entered, however I'm told my password ...
2
votes
2answers
2k views

How do I apply a custom font system-wide for all users?

I have installed the 'Droid' font. The left one root nautilus, the right one normal nautilus. Why are the fonts different? (specifically look at menus) I want both windows to use the same font. ...
2
votes
2answers
379 views

Does sudo really make you root for a while?

On Ubuntu, in what kind of situations, if any, running a command as a non-root to access a file/folder or create/delete a file/folder using sudo may result in "permission denied" while running the ...
2
votes
2answers
855 views

rm -i alias not working with sudo as root

I have noticed in all my Ubuntu servers the alias rm -i is ignored when you run sudo rm * as root. Is there something in sudo that is causing this behavior? I know you don't need to use sudo when you ...
2
votes
1answer
39k views

Where is the .wine folder?

In 11.04 the Wine folder was located in /home/"username"/.wine but now that I've done a fresh install of 11.10 and reinstalled Wine, the folder is nowhere to be found. There is a .wine text file in my ...
2
votes
2answers
2k views

How do I mount a drive so that it is readable by me?

I'm working with over SSH with an external hard drive connected by USB. I know I can manually mount a drive with the following command: sudo mount /dev/sdc ~/dirToMountTo The problem is, if I ...
2
votes
1answer
203 views

How to undo command sudo nautilus

I have typed sudo nautilus to make some changes , now I want to come out of the command or undo the command to give access back to root.
2
votes
2answers
53 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 ...
2
votes
1answer
4k 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 ...
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 ...
2
votes
4answers
669 views

Change visibility of files for non-root users

I have a file that is only visible in root mode. I want to make it visible for non-root users. I added permissions such that the maximum of person can read, write and execute it (even if only read ...
2
votes
1answer
3k views

Block a command from sudo user

I don't need an administrator to change my root password. I don't want any sudo user to execute this command: sudo passwd $root I have tried it in the sudoers file using the following command: %...
2
votes
1answer
462 views

Why does the “who” command not show “root” as a logged in user?

When I log in as root from gnome-terminal using the command: sudo su it logs me in as the root user. Isn't this switching a user considered as a log in? Also, which command can show me all the "...
2
votes
2answers
9k views

How to get list of user accounts and access through root in Ubuntu terminal?

I am using Ubuntu 13.04 and there are 5 users for the machine. I have the root password and I want to see the list of users and access the account through root in terminal. How can I do this ?
2
votes
3answers
4k views

How to access a folder as root?

I want to open a folder in desktop as root and install .jar file in that folder. I have a ".jar" file in desktop that I need to open it as root user but I want to copy that file into a folder in ...
2
votes
3answers
1k views

Ways to run Nautilus with elevated privileges [duplicate]

What are the differences between the following ways to run Nautilus with elevated privileges: a) sudo nautilus b) gksu nautilus c) gksudo nautilus Which should I use?
2
votes
1answer
988 views

how to declare that you have full superuser permissions when prompted on terminal?

I am a very basic Ubuntu user. Everytime I am trying the terminal, I receive the following question and I do not know how to answer: Do you have full superuser (root) permissions? I want to configure ...
2
votes
2answers
3k views

Why the value of $PATH is different for root and normal user?

for normal user I get : /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/monty/google_appengine which is actually the ...
2
votes
4answers
10k views

I can't su as root, my account type is admin BUT am I root? [duplicate]

Possible Duplicate: su command + authentication failure i installed ubuntu successfully, but then i tried "su" on terminal and entered my password, authentication failed! and I don't think ...
2
votes
3answers
1k views

Cannot find /usr/bin/ in nautilus

I'm trying to get the program "Desktop Drapes" to run on startup, and so far the only guide that's gotten me anywhere is this one: http://ubuntuforums.org/showthread.php?p=8810911#post8810911 Things ...