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

learn more… | top users | synonyms

3
votes
3answers
984 views

Can't login as root after changing permissions of /usr/bin

I changed the folder permissions of /usr/bin to 777. Now when I login to root user it shows "incorrect password". Now I'm not able to do anything on this PC. How can I revert the permissions of ...
1
vote
1answer
172 views

Did pkill -u root on working server. What should I do?

I accidentally did pkill -u root on a working Linux server. None of the root processes is working right now. What am I supposed to do?
1
vote
3answers
497 views

resetting the root password in linux

How do I reset the root password in fedora ? Is there any way out ? I have googled a lot but couldn't find any useful result.
3
votes
2answers
3k views

Any way to use sftp as superuser?

I'm using Transmit.app (in Mac) to sftp to my Ubuntu server. Is there any way to gain superuser permission so that I can remotely write any file?
0
votes
1answer
2k views

Enable simple password for root user on CentOS

I have a machine with CentOS and I want to enable a simple password for the root user. Something like 7 characters with 2 numbers or so... But I'm getting this error: BAD PASSWORD: it is based on a ...
-1
votes
2answers
824 views

Is there a way to pass in a password to the su root -c command?

I'm writing a script that requires root access for HP-UX. I was wondering if there was some way to pass in a password to the su root -c command so that the user would not be prompted for a password. ...
0
votes
2answers
2k views

linux root unable to create directory

server = Ubuntu 11.04 login as a root, able to create directory, copy file previously few weeks ago, but now try to create directory but failed mkdir abc mkdir: cannot create directory `abc': ...
10
votes
2answers
13k views

Can I make a script always execute as root?

How to make a script execute as root, no matter who executes it? I read about setuid but I'm not sure how to do this. I'm using Linux, Ubuntu 12.04 LTS.
0
votes
1answer
85 views

Why isn't it possible to access the root account directly in Fedora?

Why isn't it possible to access the root account directly in Fedora? In CentOS and Ubuntu we can access it, but why not in Fedora? What is the security reason for this?
1
vote
4answers
461 views

Do superuser things with normal user

EDIT Read answer of janos below. It's more use SSH-keys to access a root directly. I want to secure the SSH access to my server. One thing I read everywhere is to disable the root user login. ...
0
votes
1answer
469 views

Error resetting root password “Token Authentication error”

I am running Ubuntu 12.04 LTS, though this issue existed before I upgraded. I am the first user on my system so my password is the default for root but when I try to su to root it won't accept my ...
2
votes
2answers
404 views

Is there a way to remove root requirements for a specific command in linux? If yes, how so?

I'm using Ubuntu 12.04 LTS, and I'm trying to make it so that the specific command dhclient doesn't require root privileges. I've done some research that leads me to believe I could unlock an "su" ...
1
vote
1answer
482 views

sudo command trying to search for hostname

Recently, I have changed the sudoers file and the hostname through /etc/hostname. After changing this files, my sudo command is taking a lot of time. Also, it says sudo unable to resolve host ...
1
vote
1answer
162 views

sudo not working alongwith su

I am using a Ubuntu system. Today, I accidentally changed the sudoers file in /etc due to which my normal user prathmesh is not able to perform sudo operation. I don't know how to go to the root mode. ...
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
728 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
412 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
940 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
2answers
7k 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
969 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
334 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
207 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
165 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
913 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 ...
8
votes
3answers
11k 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?
3
votes
4answers
5k 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.
4
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?
2
votes
3answers
7k 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?
2
votes
3answers
4k 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
574 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
5k 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
77 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
912 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
4k 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 ...
1
vote
1answer
461 views

Unable to access a script from root directory in Linux

I have a script in one of I my root directory: /root/scripts/script1.sh I wan't to call that script as another user (james1). I did the following (as root user): root@pc83$ CD scripts root@pc83$ ...
0
votes
1answer
588 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
3k 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
899 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
13k 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
10
votes
2answers
26k 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
794 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
445 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
400 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 ...