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
1answer
987 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
22k 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
301 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
473 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 ...
7
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?
8
votes
3answers
35k 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 ...
5
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
5k 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 ...
2
votes
1answer
7k 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
714 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
2k 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
2k 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 ...
6
votes
2answers
6k 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
430 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?
17
votes
3answers
21k 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 ...
1
vote
2answers
3k 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 ...
1
vote
0answers
268 views

Getting my Walkman into mtp mode [closed]

I have a NWZ-e344 Walkman and I've created some .mpi files that can get the music player to read but it will only go into mtp mode when I'm logged into the root account. When I log into my regular ...
5
votes
3answers
13k 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
732 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, ...
6
votes
4answers
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 ...
4
votes
5answers
7k 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 ...
19
votes
3answers
21k 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 ...
0
votes
2answers
7k 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 ...
6
votes
6answers
4k 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
399 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: ...
88
votes
18answers
23k 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. ...
20
votes
7answers
12k views

How can a script check if it's being run as root?

I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how. Just to be clear: What's ...
0
votes
1answer
50 views

is there any kind of utility/protocol that can take premissions from root users?

well i encountered a problem that i described in this question: Problem with permissions after upgrading and while speaking with my friend about it he mentioned some kind of protocol that can take the ...
5
votes
2answers
12k views

How to boot to root shell when GRUB recovery menu fails to load a shell?

Can't seem to boot into root shell in recovery mode from GRUB. I try booting into recovery mode from the GRUB menu and don't ever get a shell, just log messages from the kernel bootup. Ctrl+Alt+F1-F12 ...
4
votes
1answer
938 views

How to unify KDE 4.5 theme when running kde applications with root?

I am using Kubuntu with KDE 4.5.3. When I run KDE applications with root privilage the Theme/UI does not look same/unify with my theme. How to fix it?
0
votes
4answers
488 views

Root password does not work to install some programs

I have a root user with password and an ordinary user with a seperate password. When trying to configure fire wall ufw, it will not accept my root password. Is it to do with advanced bin/bash etc on ...
0
votes
1answer
201 views

Problem with permissions after upgrading

A month or so ago I updated from 10.04 to 10.10, the problem is that after the update process programs that I had full control of no longer respond to me as a regular user, and work normally only when ...
58
votes
8answers
28k views

What is the difference between “gksudo nautilus” and “sudo nautilus”?

I've been using gksudo nautilus and sudo nautilus through Alt+F2. What's the difference? They look very similar!
10
votes
5answers
48k views

Get root access for copying files to /usr/share/…?

To be short, I want to copy a folder to a location /usr/share/screenlets/.... in Ubuntu 10.04 system. I tried by logging in as root from terminal giving su. I even changed my user account type to ...
21
votes
8answers
64k views

How to find out root password for installing software

I'm trying to install the NetBeans IDE in my Ubuntu and in the process it's asking for my root password which I don't remember. I know my sudo user password. How can I recover my root password?
0
votes
1answer
864 views

Start with interactive console shell

This is a follow up question to my prior thread. This solution works very well. However, after booting up, I only see a blinking cursor. Crtl+Alt+FX, where X=1..4 e.g. invokes a root Shell. I want ...
2
votes
2answers
4k views

Auto-login to console as root - no Xserver

I'm setting up a PC for a very specific purpose. It's going to do some stuff deep underwater... round about 3km. We don't fear fish hijacking the box locally ;). I'm trying to set up a login: no ...
28
votes
14answers
11k views

Why is there no option to login as root?

Why does Ubuntu not allow the GUI users to login as root at the time of system start up like administrator in Windows? Why they are restricting us to login only through the terminal?
4
votes
3answers
7k views

Don't start Xserver

I'm trying to convince Ubuntu's init system not to start X11 at boot-up. Removing gdm did not change the fact that each time the machine restarts, X11 with Gnome comes up. How do I get rid of it? I ...
41
votes
5answers
41k views

How are administrators supposed to read root's mail?

What is the Ubuntu way for system administrators to receive system notifications, which typically take the form of e-mail sent to the root account? Examples of such notifications are the output of ...
-1
votes
3answers
329 views

Login fail with low graphics then crash? [closed]

I was using Transmission to download some stuff, when I got a notification that there was only 800 MB of free space left. I soon rebooted, only to find out, that i could not login again. I would get ...
4
votes
2answers
565 views

Nautilus automatically browses as root

I used gksudo nautilus (not through the terminal but through the 'Open With' command) for some copy & paste stuff that requires root access. But now whenever I open the file browser (Nautilus) to ...