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
384 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: ....
17
votes
3answers
24k 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: alex@alex-64:...
6
votes
3answers
12k 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
686 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 /home/...
0
votes
1answer
681 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
264k 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
88 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
770 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 ...
2
votes
1answer
2k views

accidently blocked access to sudoers.d whilst trying to change ushare config

Basically was trying to change the ushare config and needed permissions for some reason so, I changed with sudo -i and in the process did somthing and now I can't access superuser to change any of the ...
2
votes
2answers
1k views

Adobe Air workaround for Pandora not working

I was trying this symbolic link approach because of the problem described here: http://askubuntu.com/a/120221/70462 After I made the symlink, the installation proceeded further than before, but it ...
10
votes
3answers
61k views

“You are not the owner…” message when trying to access folder

In the properties menu of this folder the permission is set to "root" user and group, it shows the message "you are not the owner, so you cannot change these permissions." I am indeed the owner and ...
1
vote
0answers
16 views

Deactivated my Systemadministrator whil i was loged in as standard-user so I can't reactivate it because of the deactivated administrator-password [duplicate]

Possible Duplicate: How do I reset a lost Administrative (root) password? (My distribution is Ubuntu 12.04) because of the advice to deactivate the Root-User in reasons for safty etc. I did ...
105
votes
5answers
190k views

Execute sudo without Password?

Inspired by this question.... I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way). However I was ...
1
vote
0answers
67 views

Want entry as root at login screen to do backups via deja-dup gui [duplicate]

Possible Duplicate: How do I open Deja Dup as root? I want to use the deja-dup gui to backup (the one with the black safe icon). I prefer to do this as root user, not as a normal user. When ...
0
votes
1answer
162 views

Strange thing happening in command prompt

I'm using Ubuntu in command line mode, no GUI. I'm new to UNIX, so I'm a bit confused by something that just happened. I accidentally typed "suspend" instead of "pm-suspend", and my root~#: prompt ...
2
votes
4answers
10k views

I can't su as root, my account type is admin BUT am I root? [duplicate]

Possible Duplicate: su command + authentication failure i installed ubuntu successfully, but then i tried "su" on terminal and entered my password, authentication failed! and I don't think ...
5
votes
3answers
50k views

How to run a .run file as root?

I downloaded a .run file for a Nvidia driver, but when I run it in the terminal it tells me it must be run as root. I'm a complete noob and I barely even know what root is. I think it's somewhere ...
7
votes
2answers
4k views

How to hide files and folders in Nautilus?

I want to hide, most of the folders in root (/) using Nautilus. Probably the only folders in / I want shown are /home and /tmp. In addition to hiding folders, I also want to hide two files: initrd....
3
votes
2answers
554 views

Environment variables in motd not working

I’m trying to send user login logs to my email with the users name and location. After making the script I found that environment variables can’t run in this script, I’m hoping that someone out there ...
6
votes
3answers
33k views

Re-enable graphical root-login on 12.04 LTS

On Ubuntu 11.10, I enabled the graphical login as root by (at least I think so) running sudo passwd After upgrading to 12.04 LTS, the graphical option has gone, while su in the Terminal is still ...
2
votes
3answers
170 views

Firefox deletes root protected files?

When Firefox starts, it creates two files in the user settings directory: places.sqlite-shm and places.sqlite-wal and deletes them upon exit. Just for the experiment, I set the permissions of those ...
4
votes
2answers
6k views

How can I automate a root command after (not during) startup?

I'm using Ubuntu 12.04 LTS, but I need to run the following command: sudo dhclient after startup to acquire a stable ethernet connection. I am running dhclient during startup already, through the /...
6
votes
1answer
12k views

how to shutdown a linux machine, including the root password, in 1 line?

How do you include the root password, say for shutting down an ubuntu machine? like, sudo shutdown now is it possible to include the password on this 1 line? like an extra parameter? reason for ...
2
votes
2answers
5k views

Allow “root” program to run without privileges

I've changed my ctrl-alt-l shortcut so instead of just locking the screen, the system goes into suspend. (for reference, the command is gksudo pm-suspend-hybrid) as you can see, the program needs to ...
15
votes
7answers
13k views

What are the benefits of sudo over su?

What is the actual benefit that Ubuntu (or Debian derivatives) achieve by disabling root user? Everywhere I read, it says to prevent unintentional damages for inexperienced users. I want to know what ...
1
vote
2answers
4k views

Why do i have to be root to run the command ifconfig?

I've recently switched from Ubuntu 10.04 LTS to 12.04 LTS, and one of the changes i have noticed is that when i try to run the command ifconfig (for example to view my own ip), i get the following ...
12
votes
7answers
75k views

How do I allow non-root access to /ttyUSB0 on 12.04?

Since I updated from 10.04 to 12.04, I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a usb-to-serial com port converter to access and ...
12
votes
5answers
15k views

How do I open Deja Dup as root?

I wanted to backup /var/cache/apt/archives using 'Deja Dup' but it keeps saying >> Could not backup the following files. Please make sure you are able to open them. /var/cache/apt/archives/...
0
votes
0answers
108 views

Enable Root Login in Ubuntu 12.04 [duplicate]

Possible Duplicate: Why is there no option to login as root? I am using Ubuntu 12.04 version. I have enabled root through terminal. But there is no display for root-login in login window.
3
votes
2answers
9k views

Admin password authenticates to log in, but not to install apps or change user accounts

I just installed Ubuntu 12.04. Then I changed my own user profile to not require a password and log me in automatically. What happened is, I'm still asked for a password once the desktop diplays. Once ...
4
votes
6answers
21k views

Unable to login as root from the login screen even though I have a root account

I have installed 12.04 LTS but surprisingly not able to login as root. I have unlock and set the password for root but while login i can not see 'other' option in GUI login where i can put root id and ...
9
votes
4answers
26k views

How to fix sudo after “chmod -R 777 /usr/bin”?

I enetered chmod -R 777 /usr/bin and now sudo is not working. It is giving error that sudo must be setuid root. On looking via Google, some advice said to run chown root:root /usr/bin/sudo chmod ...
9
votes
5answers
5k views

Why does Ubuntu force users to create a password upon installation?

There's been one problem I've had since I installed Ubuntu to run alongside Windows, I assume this would also be the same if it was installed to replace the other operating system as well, the ...
5
votes
1answer
14k views

~/.Xauthority required but missing

I've now run into two instances where I've received errors because the ~/.Xauthority file is required but is missing from my user folder. I have read that the .Xauthority file has been deprecated, and ...
17
votes
5answers
134k views

How do I open a folder as root?

More specifically the /etc/apt/ folder. I need to delete some files and replace /etc/apt/sources.list with a newer version.
0
votes
1answer
2k views

Changing the permissions in root files without sudo from recovery

Hi I recently killed my etc folder by running: sudo chmod etc 417. Due to sudo being in that folder it cannot be accesed now, so I have to change the permissions back to the correct ones using the ...
0
votes
2answers
1k views

How do I log into GNOME as a root?

I've enabled the root account by setting a password for it but not matter what I try I cant log into any DE but the default unity one, while any other user (but root) can choose any DE
3
votes
0answers
730 views

sshfs permissions problem — need to be root to view some files [closed]

I'm automounting sshfs shares using a script in /etc/network/if-up.d/ and entries in /etc/fstab. I have keys set up for my user so no password is required. My user (1000) has sudo rights on the ...
0
votes
1answer
160 views

Live log of commands run by a user

I need a live log of all the processes run by the root user, so that I can just tail the file or something, I know there is /root/.bash_history but that is not updated until the session has ended. Is ...
1
vote
1answer
763 views

How to Run files and open folders as an administrater 11.10

Solved!!! Enable open as administrator in nautilus! To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below: enter code here sudo apt-get ...
3
votes
3answers
216 views

I know my root password, so where do i type it to open this file?

I have my root password, and just installed a keylogger for myself and after losing a long chunk of text i worked really hard on to a program crash. The keylogger installed just fine, using my root ...