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

learn more… | top users | synonyms

4
votes
1answer
155 views

Is it advisable to become root in Ubuntu to work with other users' files?

When I moved to Ubuntu I worked hard to get out of the habit of working as root. However, is the situation below an example of one of the few times that a user should become root? - neptune:~$ cd ../...
1
vote
1answer
363 views

Ubuntu security with services running from /opt

It took me a while to understand what's going on here (I think), but can someone explain to me if there are security risks with regards to my logic of what's going on here as I am trying to set up a ...
1
vote
1answer
102 views

How to specify 'root' in path in text file

I'm following this tutorial located here on how to create a launcher for eclipse in unity. Everything is going pretty well so far, I've managed to successfully create the launcher but when I click on ...
1
vote
1answer
11k views

Change root user's home directory in Ubuntu?

Title says it all, how do I change the home directory of the 'root' user in Ubuntu 12.04?
64
votes
6answers
109k 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 in,...
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 ...
7
votes
4answers
81k views

How to run applications as root?

I am having some strange issue with Kate and Kwrite. When I click on Open File, it crashes with segmentation fault. I am a complete newbie to Linux, and I think the issue is that I am not running ...
3
votes
0answers
6k 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 ...
1
vote
1answer
83 views

alert when running applications from root

When I want to launch some applications from root user it alerts me that it may not be run as root and i need to log in as normal user. For example for Google Chrome or Glob database visualization. ...
1
vote
1answer
1k views

Sudo Non-Password access to /sys/power/state

On my computer, pm-hibernate appears to be broken, however using the command echo disk > /sys/power/state appears to work perfectly. Now I just need regular user access to it, using sudo. How do I ...
3
votes
2answers
14k views

Thunar custom action to open folder as root

Thunar has an option to add context menu custom actions to open Terminal, or to open folders and files in different applications. Could it be possible to add a menu custom action that would open ...
0
votes
1answer
360 views

How to clone root user in Ubuntu?

What is the procedure of cloning the root user in Ubuntu? How is root cloning useful?
8
votes
3answers
11k views

Home folder in `root` and not in `home`… I'm confused!

I have an issue with my home folder and this are giving me some permission problems. I've installed an application that tells me that I have no permission to save in /home/username/Desktop, but in ...
3
votes
1answer
2k views

Only root see soundcards with aplay -l

First of all I must warn you that I come from a failed upgrading from Ubuntu 11 to 12.04. Because (i guess) I used wdm instead of gdm. Infact wdm automatically closed during the upgrading and, ...
6
votes
4answers
5k views

Is it possible to open directories as administrator?

I want to have a root privileges on some directories. How can I do this?
2
votes
2answers
2k views

How can I backup files on /etc using Deja Dup? [duplicate]

Possible Duplicate: How do I open Deja Dup as root? I am using Ubuntu 12.04 LTS. I'm trying to setup Deja Dup to backup the files for several users (/home) and /etc but as it runs as myself, ...
5
votes
2answers
886 views

Run script at user login as root, with a catch

I'm trying to run a PHP script as root on user login. The PHP script adds a Samba share to the Samba config, thus the need for root privileges. The only issue here, is that the user doesn't exist ...
1
vote
0answers
62 views

How do I get the root account? [duplicate]

Possible Duplicate: How to know my root password? I want to get "root" account and I want to be root! But this 12.04 used a tile @ start screen. Unlike the older one using type account, tile ...
6
votes
2answers
15k views

How to make files accessible only by root?

I'm using Ubuntu and I'm here to know is there any way to modify access of a specific application so that it can only root has access to it? Currently that application can be launched by general ...
0
votes
1answer
218 views

Problem trying to install ROOT (by CERN) on 11.04 i386

I hope you can help me with this problem. I am trying to install root in my computer, but I have a problem and I don't know what to do to solve it. I've downloaded the tar file with the root ...
3
votes
2answers
8k views

Got problem with installation. “No root file system is defined.”

I'm very new with Ubuntu and generally with linux. I saw ubuntu and it seems like this OS is really good and stable, and so I decided to install it alongside my windows 7 OS. I have a few problems ...
6
votes
1answer
20k views

How to mount a drive for other user than root?

I've attached a SSD disk though USB. Then: sudo su - mkdir /mnt/hx chown ondra /mnt/hx mount /dev/sdb1 /mnt/hx # It's FAT32 now, but was the same with EXT4 The last command changes dir owner ...
1
vote
1answer
631 views

root login after ldap install?

I have set up ldap on my local network following the Ubuntu Manual. For some reason (after ldap setup, not before), it seems to have made a root entity in my ldap tree, which now allows for the ...
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?
28
votes
3answers
417k views

What is the default root password?

I installed Ubuntu 12.04 LTS (Precise Pangolin), 64 bit. Nowhere was I asked to set password for root. I just installed AccuRev SCM software. It was installed under the /root folder by default. Now I ...
9
votes
2answers
85k views

I Can't access the root folder

I do not have access to my root folder: Ubuntu says I do not have the necessary permissions to access it. I also cannot access lost + found, which gives me the same error message Is there anyone here ...
0
votes
1answer
2k views

Permission denied when setting the MAC address

I'm trying to set my mac address for my other computer on a newly installed Ubuntu with a brand new hard drive. While doing this I got “permission denied” from SIOCSIFFLAGS. My question is how can I ...
0
votes
1answer
1k views

I recreated my root partition using fdisk (resized it), but now the filesystem is corrupt

I was under the impression that i could resize my root partition, recreate it using fdisk but only larger. And then reboot, and do an online filesystem resize with resize2fs. however, that doesn´t ...
1
vote
1answer
1k views

How can I edit a .conf file owned by root?

I'm trying to create an exception file to disable my ethernet as I think it's responsible for my 350s+ boot times, please see section of dmasg below :- [ 3.750961] sd 6:0:0:0: [sdb] Attached SCSI ...
4
votes
2answers
145 views

I have 2 different GEdits?

When I load GEdit, it is different from sudo GEdit. Normal GEdit gives me Gtk warnings in the console, and ithas a different look. When I install plugins on either version, it doesn't reflect on the ...
1
vote
0answers
271 views

Cycles through black screen on login after changing password [duplicate]

On my laptop, I forgot the password to my Ubuntu partition, so I logged into the root command shell on the recovery start up option in GRUB so that I could change the password. On my first attempt to ...
0
votes
1answer
290 views

Lubuntu Netbook shows root partition full

I've been using Lubuntu Netbook for quite a few days (on Asus EeePC 1015PX), but recently I encountered a problem. I could not copy files to my root partition. I looked for the files that were eating ...
2
votes
1answer
1k views

Run a (single) program as root

I have been given a tool that uses a closed source library to operate the hardware watchdog timer on my "PC". The library insists on being run as root. I have tried modifying the sudoers file to ...
5
votes
4answers
91k 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 ...
0
votes
2answers
3k views

How to make shortcuts to executables

I'm a little bit noob. I can run a program in terminal with; $sudo /opt/eclipse/eclipse but I don't know how to create a shortcut that starts it with root privileges (They are installed in /opt so ...
1
vote
1answer
1k views

when I move a photo to /usr/share/backgrounds/ with terminal it becomes unreadable non root user

I want my desktop background to also be the background for the greeter so I type this into terminal sudo cp /home/luke/Pictures/Wallpapers/starfish.jpg /usr/share/backgrounds/ the copy works fine, ...
1
vote
1answer
3k views

How to partition HDD and dual boot Ubuntu with Windows 7 (first installed win7) [duplicate]

Possible Duplicate: How do I set up a dual boot Windows and Ubuntu? Hello'World'! I am coming from another planet (Windows planet) but i'm friendly and i hope you are also !?! I recently ...
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 ...
2
votes
1answer
5k views

How do I start Tomcat on boot without having to provide a root password?

I have Tomcat set up to launch at start up on my Ubuntu box. Trouble is, I have to manually supply a root password on each boot. Is it possible for this to be automated? Do I just supply an command ...
3
votes
3answers
6k views

fstab automount smb fails

I'm trying to automount some drives with smb with fstab entries as such. # auto mount hda shares //hda/DeannasDocs /home/deanna/DeannasServerDocs cifs user=deanna,pasword=** 0 0 //hda/Music /...
8
votes
1answer
14k views

xrandr as root cannot find displays

I have the following rule call my script when I dock or un-dock my ThinkPad: # /lib/udev/rules.d/81-thinkpad-dock.rules KERNEL=="dock.0", ATTR{docked}=="0", RUN+="/usr/bin/think-dock-hook off" KERNEL=...
0
votes
1answer
13k views

start lampp at startup as root [duplicate]

Possible Duplicate: How to make sudo remember my password and how to add an application to startup I have lampp installed on my Ubuntu 12.04 Everything works very fine and now I would like to ...
8
votes
2answers
29k views

How to stop email report from Cron <root@machine> (hourly)

I'm running an Ubuntu 12.04, I've configured "ssmtp" with my gmail account and now I'm getting every hour an email with a report, this is an example: From: root <my@gmail.com> Date: 2012/8/13 ...
1
vote
1answer
292 views

Why few commands (eg: fdisk -l) do not inform user “you do not have privilege”?

Few commands that need to do sudo remind you that "You do not have the privilege" or "Are you root?" etc. while a few commands do not give such message. For example, if you do fdisk -l instead of ...
0
votes
4answers
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?
4
votes
1answer
3k views

Wireshark - allow non-root user to sniff USB traffic

I'm trying to capture data transferred across a USB connection to reverse-engineer the protocol used. I'm using wireshark to do this, which explicitly warns against running as root. So far, I've ...
1
vote
1answer
1k views

'Root Disk does Not exist' - How do I get it back?

When booting Ubuntu I suddenly get the information that my root disk does not exist. I am running Wubi and Ubuntu Version 10.04. I tried the following: Rebooting Windows, then rebooting Ubuntu. ...
1
vote
2answers
661 views

Why can root still edit files with a permission of 0?

I just wanted to delete most files from an external HD except some certain ones. So I chmod these ones to 0 and did a sudo rm -r ./*. Painfully, the result was that everything got deleted. Why is ...
1
vote
3answers
1k views

In 12.04 LTS, I get “No DBus” errors when running things as root

While attempting to run gEdit as root from a terminal window (was trying to do some tweaking on my HOSTS and FSTAB files), I get a message saying "No DBus connection available" and get booted back to ...
5
votes
5answers
46k 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 ...