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

learn more… | top users | synonyms

1
vote
2answers
889 views

How do I get Unity to launch “Log File Viewer” as root?

By default, "Log File Viewer" is not launched from Unity as root in Ubuntu 11.04. This is pretty useless, as most of the log files are only readable by root. How can I change this behavior so that it ...
4
votes
5answers
27k views

How do I resize root partition?

I have a dual boot setup with Ubuntu and Windows 7. I need to shrink my root Ubuntu volume in order to get some free space to create a new partition. Are there any Windows based tools that will do ...
1
vote
2answers
3k views

Add user that can read / write a root, www-data files

How can I do that? I got user amira on my Ubuntu 11.4, I want him to able to see / read / write a root user files such as /etc/* and apache files
6
votes
3answers
3k views

Set a specific theme for root launched applications

I would like the the applications I launch as root to look differently from the application launched as a normal user. This can be done by using a theme that does not come from usr/share/themes but I ...
18
votes
3answers
48k views

What is the difference between 'su -' , 'sudo bash' and 'sudo sh'?

I would like to know what is the difference between su - sudo bash sudo sh I cannot login as root while doing su - because I do not have the root password - I mean I have my user password with ...
3
votes
1answer
2k views

Chromium Instances running as root

Using Lubuntu and its Task Manager (LXTask) I noticed that some instances of Chromium are running as user root. I was kinda shocked because I am always reading only system relevant software should run ...
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 ...
4
votes
1answer
1k views

Is it possible to run pbuilder without root privileges?

I realize that setting up pbuilder requires root privileges, but does each invocation really require root privileges? Is there any way of running pbuilder as a standard user?
2
votes
0answers
198 views

How can I restrict changing of the keyboard layout to root users only? [closed]

Is there any way by which I can disable "changing the keyboard layout" so that only a user with root privileges can change the layout.
3
votes
1answer
454 views

How do I edit a file / launch an app without having to worry about “permission denied” messages?

When I need to edit a file (e.g. the httpd.conf file or the php.ini file) I start a terminal and open it with: sudo vim /etc/apache2/httpd.conf Most of the times, in order to be able to edit the ...
2
votes
1answer
185 views

Does Ubuntu Live session write anything on the primary partition

Here is the situation.I am a duel windows ans ubuntu user. Accidentally I formatted the C partition(root partition of windows). Now I ran several live ubuntu sessions from CD. And found a way to ...
62
votes
5answers
338k views

How to enable root login?

I would like to enable the root account on my Ubuntu installation. I realize the security implications of this.
2
votes
1answer
3k views

How to ssh to Live CD for remote recovery - root password issue?

Is there an automatic way to SSH to a machine that booted from Live CD? I have a remote server with a HDD issue and the ISP booted my machine from a Live CD. I can SSH to the machine (lucky has the ...
3
votes
1answer
1k views

How to perform a rake task after startup?

I'm using Rails, and I'd like to perform a specific rake task on boot. I've made a shell script like so: cd /path/to/my/app rake db:backup which is symlinked in /etc/rc2.d/. The problem is that the ...
20
votes
4answers
52k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
2
votes
1answer
967 views

Folder browser: Copy to restricted locations?

Can I launch the folder browser as root so I can copy files to restricted locations?
6
votes
3answers
32k views

How can I become the owner of a file/folder that root owns?

I had a bad habit of storing my wallpapers in /usr/share/backgrounds, and decided to move them all into Pictures. Well, the problem is that most of them are now read-only since they are owned by root. ...
0
votes
2answers
297 views

Root Access in Natty [duplicate]

Possible Duplicate: How to know my root password? How to access root in Natty? usually, i use this methode for login as root sudo password root but in Natty this methode not work. there a ...
1
vote
1answer
1k views

How to open a file in gedit with zenity --file-selection as root

I try to open a file in gedit with the file-selection option of zenity. It's very easy to do it for file that i can access in normal mode, but I wanna open too some configuration files (as for exemple ...
7
votes
3answers
27k views

How do I install root-cern?

Cern's ROOT environment installs fine on 10.10, and is even available in the Software Center, but it will not install or compile on Natty because the x11 directories are in new locations. I can ...
4
votes
1answer
306 views

Application menu with root owned windows?

How do I let root-owned windows use global menu? I already have the 'Title Bar Info' Compiz plug-in telling me that the window is root's, I don't want the existence of the menu bar telling me that ...
1
vote
2answers
1k views

Wubi Install as Root User

Is it possible to install ubuntu from wubi with the root account (and have it show up in login screen, unlike when it is made manually with "sudo passwd root")?
2
votes
2answers
541 views

How do I allow regular users to install printers?

I'm configuring a 10.10 machine for deployment in an organization with Likewise Open and Active Directory, and I need to know if Ubuntu can allow users to install printers automatically. I tested and ...
8
votes
1answer
1k views

How to prevent a file under user folder to be deleted?

How can I make some file impossible to be deleted by user even if it is under his/her home folder?
9
votes
3answers
41k views

How to create a user with root privileges in bash?

I have run the following commands: sudo groupadd -r testgroup sudo useradd -g testgroup -M -r testuser Notice the -r option, which according to the man page: -r ...
6
votes
1answer
4k views

ROOT_MISMATCH error after following FAQ directions

While using Ubuntu One in 11.04 I am unable to change my account info. When I made the switch to 11.04 I forgot that I already had an Ubuntu One account so, I made a new one. However, upon going ...
6
votes
2answers
2k views

Can't perform regular sudo commands, have to use su now

I'm an ubuntu newbie I just installed 10.10 and I don't know what I did but now to perform actions that required sudo privileges (open synaptic, mount device, run apt-get install, etc) the OS won't ...
3
votes
4answers
6k views

Oracle installation script execution privileges: “oracle is not in the sudoers file”

I'm currently installing Oracle 11g on Ubuntu 10.10 It had been asked to execute some scripts as "root" while installation. I'm doing: oracle@sergio:/u01/app/oraInventory$ sudo sh orainstRoot.sh ...
3
votes
1answer
10k views

Where is bashrc profile for root?

I believe the question says it all. Also if it doesn't exist where do I create it. Ubuntu 10.04
0
votes
3answers
746 views

Root access issues - how do others manage this?

I use my Ubuntu 10.04 LTS instance (via Virtual Box on Windows 7) with a non-root user. I am trying out developing Rails applications and I notice that I need to run some rails commands with sudo. The ...
5
votes
1answer
3k views

How to execute a script as super user first checking the user and getting pass from askpass if not super user

thers a similar question out there How can I determine whether a shell-script runs as root or not? I have the same doubt with different result Is it possible to, within the BASH script prior to ...
3
votes
1answer
3k views

Root cannot access /dev/urandom

I am trying to generate a GPG key, and I cannot generate enough entropy. So I installed rng-tools and tried following these instructions: http://serverfault.com/questions/214605/gpg-not-enough-entropy ...
0
votes
1answer
1k views

How to work around the home directory changing to /root when using sudo?

With Natty coming out soon, I've been at work updating my deployment and self-config script to make my desktop on 11.04 run and look the way I want it to. One bummer is that dbus seems to have ...
5
votes
2answers
1k views

How to install Awesome WM without root access?

I want to install the Awesome window manager. In the environment where I want to configure it I don't have root access. I do have a machine were I can be root (I use for this a virtual machine in my ...
8
votes
2answers
7k views

Regain Sudo rights after removing from admin group [duplicate]

I accidentally removed myself from the admin group when editing the user. Now I can no longer use sudo. The error says: ber is not in the sudoers file. This incident will be reported. I booted up ...
6
votes
3answers
440 views

Custom GNOME applet in Python needs to have root privileges

I've written a custom GNOME panel applet in Python that needs to write to some root-owned files. Is there a way to make it start with root privileges without using suid?
27
votes
3answers
33k views

How do I disable remote SSH login as root from a server?

For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be ...
2
votes
2answers
4k views

Making file in user's homedir accessible from web/webserver

I have a txt-file one of my user's homedir which is regularly updated there by a script. I now want to be able to access (read) this file from the web. /home/user/folder/file.txt So what I tried ...
5
votes
3answers
15k views

Initramfs error during boot

Boot from (hd0,0) ext3 238ac8ca-9576-443d-8e23-8dd836cd2683 Starting up ... mount: mounting /dev/disk/by-uuid/238ac8ca-9576-443d-8e23-8dd836cd2683 on /root failed: Invalid argument mount: mounting ...
0
votes
1answer
771 views

Nautilus bookmarks and smb shares work with non-root user

I'm having a problem with Nautilus in Ubuntu 10.10 When I open Nautilus as common user, it shows bookmarks and the bookmarks that point to smb windows shares work fine. However, if I start Nautilus ...
0
votes
2answers
1k views

Ubuntu user credentials, file permissions

I am using Ubuntu 10.10 for web development by using the symfony framework. Normally I install Ubuntu Lamp (Turnkey edition), log in as root and configure all the necessary software in the server ...
12
votes
1answer
2k views

Why do I have low FPS unless root?

Problem: Normal users aren't using the best graphics driver. I first noticed this playing Osmos from the HumbleBundle2, but I can observe it while running glxgears too. Maximised on a 1280x1024, ...
7
votes
3answers
3k views

Is it safe to resize root partition?

My HDD is partitioned into two equal sized partitions. First is being used for Windows and Second for Ubuntu. Everything is working fine. But now I want to remove Windows and use the disk completely ...
5
votes
5answers
10k views

Always Sudo Privileges

I've searched for this, and the answer is probably in a million places on the 'net, but I can't find it... How do you give your account root privileges in Linux so that you don't need to sudo every ...
27
votes
3answers
33k views

Disable root account in Ubuntu?

I was asked for root credentials to setup my printer in Ubuntu. This seemed to be caused by a bug. And the suggested workaround is to create a root password. Since it is default that no root password ...
6
votes
1answer
2k views

Get root privileges for nautilus on sftp connection

I use "Connect to server" option to sftp to remote computers, as a user which has sudoer privileges. But then, I cannot get root privileges to modify system files. How can I do this? (I know i can ...
4
votes
4answers
1k views

How to disable GUI root login?

Sometime ago I just tested to see if I could login to desktop from root, and I succeeded. I clicked on Others on the userlist and entered root and its password and logged in. Now I'd like to know how ...
2
votes
2answers
9k 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 ...
8
votes
6answers
5k views

Disabling shutdown command for all users, even root - consequences?

I would like to disable the shutdown command for all users, even root, on an Ubuntu Server installation. The reason I want to do this is to ensure that I don't get into the habit of shutting down the ...
1
vote
0answers
400 views

Ubuntu Root user [duplicate]

Possible Duplicate: How to know my root password? Hi folks, I have been getting hands on Ubuntu and really liking it. Though someone of the terms really confuse me. One such confusion is: ...