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
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
995 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 ...
4
votes
4answers
85k 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" ...
0
votes
1answer
12k 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 ...
8
votes
2answers
28k 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
289 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
657 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
4answers
43k 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 ...
5
votes
2answers
986 views

NVIDIA Linux Driver Hack Gives You Root Access?

Launchpad bug link: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-updates/+bug/1032344 Apparently there is a security vulnerability with the current Nvidia Drivers that gives the ...
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 ...
0
votes
1answer
3k views

Skype only logs in as root

I just installed Skype on my Ubuntu 12.04 again and somehow I can only login if I start Skype via root (sudo skype) in the terminal. If I try otherwise via dash or just "skype" without sudo permission ...
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 ...
1
vote
1answer
643 views

Issues while running pulseaudio as a not-root user

If I run pulseaudio as a nonroot user (for example mpd starts it with user "mpd" or I start it with my user), random noises arises when I try to start or pause, change the volumes, or switching ...
2
votes
1answer
638 views

Lost control of root account, Ubuntu Server 11.10

after I created a group, and put the root account in it, I lost control of it and now it's not root anymore. Also I can't login with "root". How can I revert this? Now there is no way I can use sudo ...
8
votes
1answer
53k views

How to run Bash script as root with no password? [duplicate]

Possible Duplicate: How do I use sudo in my script without needing a password? I want to run a bash script as root with no password prompt. I tried visudo with no luck(your_username ...
1
vote
1answer
151 views

Terminal shows root@homeserver when logging in with user

I have an Ubuntu Server 12.04 running on a Dell D620 Machine called "homeserver". Everytime i log into the SSH with the user homeserver (yes same name as machine) the terminal shows root@homeserver. ...
1
vote
2answers
610 views

Why the need for sudo when I have only one account on machine? [duplicate]

Possible Duplicate: Why is it bad to run as root? I am bit confused about the need for sudo when I have a single user account set up on my machine. At install time I tried to call the name ...
0
votes
3answers
131 views

Tracking weird root tty behavior

I randomly ran the finger command on my machine and these two lines came up in addition to my own user (the machine is fully mine): root root *pZ� Jul 5 15:25 (:0.0) root ...
0
votes
1answer
378 views

Path missing when use as root

I'm running jsunpack.py, after installing all dependencies and setting the correct path, I decided to test it. I run it as python jsunpack.py test.htm and it works fine, now when I try to sudo it I ...
1
vote
3answers
2k views

I cannot start graphical apps as root

I used to be able to do so, but something as simple as this fails now: gksudo gedit and this also fails: sudo gedit I receive the error: Cannot open display. I haved checked this: ...
16
votes
3answers
23k views

How do I set persistent environment variables for root?

To create persistent environment variables, I add the script file to /etc/profile.d directory, for example: # my script export MY_VAR=var_value This works properly for current user: ...
6
votes
3answers
11k views

Must I enable the root account to install Matlab?

I'm trying to install Matlab R20112a on Ubuntu. My problem is: I get access to the installation gui running ./install from a terminal, but the installer fails when it tries to write on the folder ...
0
votes
0answers
70 views

Cannot use sudo command, changed permission of /usr folder [duplicate]

Possible Duplicate: How to get back SUDO into working condition? Here's how I messed up my ubuntu, I wanted to change file permissions of /usr folder and I did that by taking root privilege ...
0
votes
2answers
2k views

rsync problems and security concerns

Hi I am attempting to use rsync to copy files between two linux servers. both on 10.04.4 I have set up the ssh and a script running under a cron job. this is the message i get back from the cron ...
4
votes
1answer
682 views

I enabled the root account by mistake, how do I disable it?

I wanted to change my own password, but instead of using sudo passwd myuser, I used sudo passwd by mistake, and so I set the password for root. Does that mean that my root account is enabled now? I ...
7
votes
1answer
1k views

Root tasks using dbus and policykit

At some point my application needs to do administrative tasks like creating a file in /etc or running commands with root priveleges. I know just could do a Q&D: os.popen("pkexec foo bar") But ...
1
vote
1answer
965 views

authentication problem at Ubuntu 12.04

I get this error when I try to authenticate using Gnome GUI. I have NO authentication problem when I use terminal. It is suggested here that I need to do sudo chown -R myusername:myusername ...
0
votes
1answer
678 views

Ubuntu 12.04 - After release-upgrade from 11.10 - no more root login?

Question: I did do-release-upgrade on Ubuntu 11.10. Now, I have Ubuntu 12.04, and I can login as a normal user, but not as root. On 11.10, I could login as root without problem. I checked on the ...
5
votes
2answers
3k views

Why does Software Centre ask for root password when the default is for root to be disabled with no password set?

This seems odd to me. I can't install software using the "friendly" GUI tool unless I input the root password but by default, my Ubuntu 12.04 has root disabled with no password set. Why doesn't ...
18
votes
3answers
256k views

How do I set the root password so I can use su instead of sudo? [duplicate]

Possible Duplicate: How to know my root password? Instead of letting you set a password for root during install Ubuntu set it to * for no password and disables the actual account login, ...
0
votes
2answers
2k views

Why does my computer specify me as “Not the owner”?

Every time I want to paste or add a file to the root folder it says i'm not the owner and I don't have the privlidges of putting it there. It makes me really mad.
1
vote
1answer
87 views

Configuring permissions with Bastille

I was using Bastille to improve the security of my OS. To set this software properly, it ask you several questions related to security rules and you respond it (Y-N). I'm stuck at this question that I ...
1
vote
1answer
752 views

I just recursively chmod'd everything under / to 750. Any tips?

I won't be the first and I won't be the last, I suppose. While playing around with the find command, I made a whoops and it would appear that instead of changing the permissions of the ~/web directory ...
1
vote
1answer
2k views

Root directory of the kernel

A newbie here. I am trying to set up Eclipse for Linux Kernel Programming. The guide says set the project location as the root directory of the kernel. Where's the root directory of the kernel now? ...
4
votes
2answers
4k views

Run Bash Script as Root

Is there some way I can run a Bash script as root without being prompted for a password every time? I'm attempting to automate the process of starting my LAMPP install, which requires me running a ...