The name of the main administrative user commonly used in *nix based systems.

learn more… | top users | synonyms

1
vote
2answers
3k views

How to login as root from the logon screen?

How do I login as root in fedora after the fedora boots? When signing in by specifying username : root and password : xxxxxxxx fedora says unsuccessful login attempt. This is the same password I ...
-1
votes
2answers
827 views

Linux: Giving a user read/write access to all files and directories

Is it possible in linux to give a user read/write access to all files and directories like root? EDIT I have a special case. I need to create a folder structure on which I can grand a special user ...
1
vote
1answer
496 views

Making upstart job redirect output as unprivileged user

I am currently making an upstart job run as an unprivileged user like so: start on started mongodb stop on runlevel [06] respawn respawn limit 10 100 env NODE_ENV=production pre-start script ...
1
vote
2answers
988 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 ...
4
votes
3answers
1k views

Running chrome in Backtrack Linux

I am using the Backtrack 5 linux distribution, and i wanted to install chrome, but it wont run as root for default. I know that using --user-data-dir will let me run it as root. But is there a safer ...
1
vote
1answer
1k views

Difference between “sudo su root” and “sudo su - root”

Is there any difference between "sudo su root" and "sudo su - root" ? I know - make the shell a login shell but what difference does it make ? Does the permission varies among them or any change in ...
3
votes
3answers
9k views

Root Can't Delete Folder It Owns

Platform: CentOS 6.2 Shell: tcsh .............................................................................................................. EDIT 2 Brian Swift has pointed out a workable solution. ...
4
votes
2answers
2k views

Use another user's .vimrc and .vim/

I know that I can :source /path/to/some/.vimrc to load my user's .vimrc when running as root, but how can I use the entire .vim/ directory as well? Is there a startup option for using /home/user/.vim/ ...
0
votes
2answers
1k views

Autologin as root or as any other user in Linux in console mode

my system requires to run automatically at start up. so, i did write a simple module and registered it inside /inittab. it automatically runs at start up but the problem is when i turn on the computer ...
0
votes
0answers
335 views

Fedora 16 seems to need a different auto logon auto start shell script?

Im looking for auto root login shell then when logged in auto start a script. Looks like Fedora 16 use very different approach than other Fedoras.
1
vote
1answer
225 views

Automation of restarting the network without root permissions/password

I'm an avid torrenter, and since I'm busy must of the day, having Transmission-GTK run at night is my best option. However, my college server loves to kick people out after either an extended time ...
1
vote
1answer
167 views

su - for some users

in a linux system with su - any user (with root password) can get root privileges. how I can restrict to some users ? // similar to AllowUsers in sshd_config
1
vote
1answer
2k views

Command to create a file owned by another user

I created a directory test owned by the root user, and then I created a file called F1 inside test , now I need to create a file called T5 inside test but by a user called student What is the ...
0
votes
5answers
1k views

Second root account

i'm new in linux, so i'm sorry if my problem is a bit confusing. I'd like to do following: create a second root account write the file by using this account the first root account shouldn't be able ...
9
votes
3answers
19k views

How to check root partition with fsck?

I installed Linux Mint 12 KDE, and I would like to check the root partition for any errors. How do I check the root partition with fsck at boot time?
4
votes
4answers
7k views

How to determine the user and group of a deamon in Ubuntu?

How can I check the user and group for the nginx daemon in Ubuntu? Or what's the syntax to find the user and group for a deamon running in Ubuntu?
0
votes
1answer
4k views

How to give a user account root privileges in Fedora 14?

I want to give my user account root access rights permanently, how can I do that? I don't want to log in using the root account.
5
votes
1answer
2k views

Is there an account to see all folders on a Time Capsule?

When using Time Capsule with many user accounts, is there a root account to connect to the Time Capsule with, that can see all folders on the device?
3
votes
3answers
9k views

I created an Ubuntu server. Do I have a “root” user?

I always thought "root" was a default user created when you install basically any Linux. During installation, it asked me to choose a username, so I picked "devadmin". Is that my "root" user now?
3
votes
3answers
5k views

chown -R root.root /

So I was working and there was a directory that I was periodically changing to my user in a root terminal so that I could open the files in text editors, but I accidentally pressed / instead of . and ...
1
vote
1answer
594 views

suspicious Fedora 'run as root' request?

I am running Fedora 16 and just installed Dropbox from their website. After dismissing the successful installer, I received a 'run as root' authentication popup trying to run the command 'sh ...
0
votes
1answer
8k views

Creating files and directories with a certain owner (user/group) while sudoing

I need to wget something (results in a compressed file in cwd), then I have to extract it, then do some copy/move/modification stuff and perhaps finally execute an script (from the downloaded ...
1
vote
1answer
85 views

Gentoo Linux global environments for root

I'm confused with setting variables in /etc/env.d directory. When I write "echo $PATH" from user - it's print me all variables that set it myself. But from root I see one... Where should I set ...
2
votes
2answers
1k views

How can I automatically pass the password to 'su'?

I am working on an exploit for a security course. The object is to obtain a root shell in a linux virtual machine. So far, I can write to /etc/passwd and change root's password to an arbitrary string. ...
0
votes
2answers
5k views

How to restore sudo privilege with Linux live CD?

I'm running Linux Mint 11 and I lost the privilege to use sudo, apparently the result of accidentally removing myself from the admin group. When I use the groups command to list the groups I'm in, it ...
0
votes
1answer
595 views

How do I create root user on os Lion server? I somehow deleted mine

how do I create root user on Mac OSX Lion server. I somehow deleted mine and now my documents, download folders won't work/missing, as well as my systems preferences won't open, it just crashes
3
votes
1answer
4k views

/bin/su: Permission denied in CentOS can not set su - root

I'm trying to set myself as a root and once I type in su - root in the terminal it just give me an error saying /bin/su: Permission denied so I checked the permission in that file -rwsr-x--- 1 ...
0
votes
1answer
1k views

How to delete an old (root) account on Ubuntu safely?

I have a user account with root access in my Ubuntu with username "A". For some reason, I created another account sometime back for myself named "B" and gave this account root access as well. Now, I ...
1
vote
1answer
3k views

Mount samba share without root access

I have access to a linux machine, but not root access. I can access a samba share through smbclient. I'd like to be able to mount this share so I can access it from within Matlab. Normally, if I ...
3
votes
1answer
14k views

I can't find adb_usb.ini

I want to edit it so that it suits my Kindle Fire 6.2 firmware to be able to install apks from outside the market.... Why can't I find adb_usb.ini I have installed Android SDK
18
votes
2answers
40k views

Force logout a user

I When I logged into the machine as root and typed who to see which users are logged in, I found somebody else too logged in as root devuser pts/0 2011-11-18 09:55 (xxx.xxx.xxx.xxx) root ...
1
vote
1answer
937 views

Running anything Gnome-related in root terminal gives error

Pretty fresh Debian 6.0.3 install, running Gnome 2.30.2. In a root terminal, whenever I try to open anything Gnome related, I'll get this error: unable to open display ":0.0" Sometimes this is ...
2
votes
1answer
691 views

Disabling only password ssh access for root

I know it's possible to disallow root logins via ssh, and that it is a Good Idea™ to disallow root to ever login via ssh (preferring instead to use sudo or similar). Is it possible to allow ...
1
vote
1answer
501 views

Can I tell if Root / Sudo has been used/accessed

Would it be possible to check if the root user (or sudo) has been accessed on my server. I ask this because I am creating a server monitoring tool and I wanted to know if there was a way to check ...
3
votes
3answers
2k views

How do I run bash scripts as root over SSH?

I have a number of centralized scripts, which install certain pieces of middleware (for example JBoss-AS, JBoss-EWS, etc). The idea is to use expect to write a script which runs the script (which can ...
2
votes
1answer
405 views

How to allow root user to start up under FileVault 2 in Lion?

I just enabled Whole-Disk Encryption (under the name FileVault 2) in Mac OS X Lion. In the setup process, I was asked to select the users whose passwords can unlock the startup disk. I have the root ...
0
votes
1answer
524 views

Fedora System Maintenance root password not working

When I was running a program on my Fedora machine, my system froze and I had to do a hard reboot. But once I rebooted, Fedora complained that the file system has errors and attempted to fix it. Now, ...
4
votes
1answer
2k views

I believe I've deleted MySQL root user, how do I recreate it?

I'm running ISPConfig on CentOS and I don't know how, but I don't seem to have a root mysql user. I can stop mysqld with /etc/init.d/mysqld stop Start it again and skip grant tables mysqld_safe ...
0
votes
1answer
246 views

How to configure root kde same as user?

Eclipse looks completely different when run under root compared to my user. It's like kde wasn't setup for root upon installation. I'm running Suse 9.3 Pro. How do I configure root kde so that ...
3
votes
4answers
15k views

How can I configure Samba to share (read/write) any folder with root permissions?

I have a CentOS 5 VirtualBox guest on a Win7x64 host. I am attempting to setup a read/write share a directory owned by root with my Windows host using Samba, but I'm having no luck after running ...
2
votes
1answer
94 views

Missing something from Security 101 - No Sudo -> Boot to Recovery -> Add to admin -> Voila?

May be this is a silly question but yesterday I found myself struggling to execute the sudo command because apparently I was taken off the list on my own machine for some reason. What I did was to ...
1
vote
2answers
2k views

Access Desktop as root user in linux

I know the command to get to your Desktop is cd ~/Desktop. This however does not work as the root user. However I need to be the root user because I would like to move a file, from my desktop into my ...
5
votes
3answers
1k views

Why is the dreadful 'rm -rf /' even allowed? [closed]

We all know the destructive power of the following command executed as root: rm -rf / Related questions: How far will you get with a 'rm -rf /' deleting everything: # rm -rf / I fail to ...
1
vote
2answers
282 views

Best way to store root passwords

I have over ten web servers to manage and configure, with each server having its own root user and password. I have to maintain a database of all the root passwords on my development machine, but I ...
2
votes
2answers
3k views

Why does Linux Ubuntu/Mint lack a root account?

This is a question about Linux Ubuntu (and Mint). As a new user to the Linux system, I was interested in the fact that Ubuntu doesn't allow the PC owner to be root/administrator. Regardless of whether ...
2
votes
1answer
247 views

Root authentication with another root user

I have a PC at work running Fedora 14. For some reason, the IT guys do not give out the password for the root user, but instead, if needed they create a specific suXXX user with root permissions. The ...
1
vote
1answer
152 views

System Admin Root Access to Production Servers

What technologies or processes are recommended for providing escalated access to production servers for SAs for limited time. I'd like to avoid my SA's from having root access. (Enterprise ...
1
vote
2answers
102 views

sudo not giving full access on Mac OS X

I am trying to install npm via shell script on mac 10.6.4 and sudo does not seem to be working as the shell fails when trying to access /usr/lib and create documents in that directory. What is wrong? ...
2
votes
1answer
6k views

How to perform root level commands on Linux (Fedora) Live Media

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect. Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands ...
1
vote
1answer
327 views

Fedora 15 su user problem

I'm new to Fedora 15 and Linux. I've stumbled upon a problem while installing Oracle XE; I can't set environment variables or do anything else - any change I make won't stick. I'm using the terminal: ...