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

learn more… | top users | synonyms

53
votes
5answers
261k 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
2k 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 ...
19
votes
4answers
43k 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
954 views

Folder browser: Copy to restricted locations?

Can I launch the folder browser as root so I can copy files to restricted locations?
4
votes
3answers
23k 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
291 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
24k 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
304 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
503 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
38k 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
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 ...
3
votes
1answer
8k 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
730 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
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
435 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?
21
votes
3answers
26k 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
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
269 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
14k 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
749 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 ...
5
votes
5answers
9k 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 ...
22
votes
3answers
25k 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 ...
1
vote
2answers
8k 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
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: ...
102
votes
19answers
30k 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. ...
23
votes
7answers
17k 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
14k 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
962 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
490 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
203 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 ...
63
votes
8answers
31k 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
58k 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
70k 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?