root is the default administrative account for Unix-based systems. It is comparable to the Administrator account of a Windows system.

learn more… | top users | synonyms

3
votes
3answers
712 views

To root or not to root?

Please see the (somewhat) related topic here. My day-to-day tasks on a linux machine require superuser access since I would be (re)starting services, monitoring the system, (un)installing stuff etc. ...
5
votes
3answers
2k views

Why does 'pkill /?' kill my SSH session?

After running the following commands (bash) as root via SSH: pkill --help pkill -h pkill /? The first two commands didn't provide me any information, that's why ran the third (kinda ...
2
votes
3answers
86 views

Setting the server to look for index.php file by default

I am a web developer and I've requested our Sys-Admin to setup a server for my team that will be used as a development environment. The PHP is running as a CGI. When i try to open http://myaddress/ I ...
0
votes
2answers
403 views

Change user password within user with root account

I'm logged into (ssh) my ubuntu server into a non-root user account. I can not directly ssh into the server as root, because I disabled it. I have the root password. I need to change the user password ...
2
votes
2answers
399 views

Can root become user and access encrypted home?

The home is mounted unencrypted on login. I tried accessing it after doing 'su sampleuser', but it was encrypted, which is the expected behavior I guess. I also tried changing the user's password, ...
7
votes
4answers
18k views

Why (or how) does the number of open file descriptors in use by root exceed ulimit -n?

Our server recently ran out of file descriptors, and in regards to that I have some questions. ulimit -n is supposed to give me the maximum number of open file descriptors. That number is 1024. I ...
1
vote
1answer
735 views

nginx doesn't find the directory but apache does

I use apache as the backend server and nginx on the frontend. Apache listens to port 8080 and nginx to port 80. What I do is have the root point to the public folder foreach virtualhost: ...
0
votes
3answers
8k views

Root only has read permission for /etc/ssh/sshd_config?

I'm trying to edit my /etc/ssh/sshd_config file as per these instructions to properly set up git on my Synology NAS: http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html (step 6) However, when ...
11
votes
2answers
784 views

What is the difference between “sudo -i” and “sudo bash -l”

There is a recent question regarding multiple sysadmins working as root, and sudo bash -l was referenced. I searched for this on google and SE, but I don't understand the difference between sudo ...
28
votes
9answers
5k views

Multiple Linux sysadmins working as root

In our team we have three seasoned Linux sysadmins having to administer a few dozen Debian servers. Previously we have all worked as root using SSH public key authentication. But we had a discussion ...
4
votes
1answer
301 views

How to shutdown from a script without being root?

I've got an amazon EC2 instance, which starts up, runs a script, and when the script finishes, I want to shut it down. I tried chmod g+s to give super user privileges on a .sh script which called ...
0
votes
2answers
14k views

I have WHM root access but unable to connect using SSH

I have root WHM password for a domain and I am able to login using following URL http://domain_name/whm But when I use the same root password to connect to server using SSH I get access denied ...
0
votes
2answers
103 views

Limited root access

I have a rather unique situation that I need to come up with a solution for. We have servers by which a remote team requires having root access to our servers to perform certain jobs. We need to still ...
0
votes
2answers
490 views

how to check if my root server was compromised

My provider sent me an email stating that my root server seems to have been misused for attacking other systems. How do I check if this is true and my system is compromised? I was told I have 4 days ...
0
votes
2answers
159 views

Working out some quirks of a master SSH server

I am starting a web hosting company and there are a few details that I have yet to figure out, one of them being some sort of SSH VPN to connect to our servers running CentOS 6 with cPanel. So this ...
1
vote
1answer
1k views

Home directory owner is root instead of user

I am adding users using the command useradd in opensuse 12.1 and creating a home directory on NFS. The problem here is the home directory's owner is root instead of user. msvlsi67:~ # useradd -g ...
-1
votes
1answer
203 views

Logging in as root [duplicate]

Possible Duplicate: What's wrong with always being root? I have a server running in a datacenter with strong firewall & VPN protection. I have a few java apps which I have written ...
1
vote
2answers
2k views

Run a script as root from apache

I would like to update my hosts file and restart dnsmasq from a web interface (php/apache2). I tried playing around with suid bits (the demonstaration). I have both apache and dnsmasq running on an ...
4
votes
1answer
299 views

Downgrade/replace root user?

Is it possible to safely downgrade the user 'root', replacing it with a different account name? (say 'admin'). So, in the end, 'admin' would be uid 0 and 'root' 123. I am using Centos, if that makes ...
1
vote
1answer
209 views

After Changing Permisions, Plesk,Root,Mysql is Down

i have connected on Root with SSH Access. Becouse i transfer the files with root, all files was root own. I need it to be on other user, so i was connected on as my current folder: ...
0
votes
3answers
2k views

Cannot start apache (Unable to change directory to /root)

When trying to start Apache by using: /etc/init.d/httpd start I get the following error in /var/log/httpd/error_log: Unable to change directory to /root Anyone have any idea what this means?
0
votes
3answers
2k views

Expand root partition without LVM

I've got free unpartitioned space which I'd like to use to expand my root partition. The server runs under Debian Squeeze and I'm administrating it with no GUI. How can I do that? Do I need the free ...
3
votes
3answers
3k views

Remove user from root group

Somehow I managed to add user Tom to root group in Ubuntu, in order to avoid using sudo everytime (bad decision). Now I want to remove it and I can't. I've tried using usermod -G {groups} Tom My ...
3
votes
1answer
2k views

permission denied for chmod as root

I need to manage a customer's openvz guest (latest debian squeeze 64 bit). Now when I try to do a chmod 0750 /root as root it gives me Permission denied. This really puzzles me, as I thought root can ...
3
votes
2answers
7k views

Oracle Solaris 11 x64 root password?

I have installed OS 11 x64 on a pc to evaluate if this could be my new system for a home storage array of 48TB. I have a very basic problem: I somehow cannot access root with the admin password ...
1
vote
1answer
281 views

Why does WinSCP connect to /root and nothing else, through OpenSSH?

We set up an Amazon EC2 instance and managed to WinSCP into it by setting up WinSSHD on the server. As WinSSHD is commercial, we were looking for a free alternative and opted to try OpenSSH, which I ...
1
vote
0answers
258 views

PATH environmental variable has changed suddenly for root user

Recently one of my Gentoo linux servers, which has been working happily for quite a few years suddenly stopped responding to BASH commands that I commonly issue it. Very basic commands such as ...
1
vote
0answers
129 views

How do I manually perform a password check using AIXpert?

One of the AIXpert tools is to perform a check of the root password against a dictionary (usually /etc/security/aixpert/dictionary/English). If I want to run this check manually, how would I do it? ...
2
votes
3answers
2k views

how to deny “sudo su”

I have several servers where some users require to be sudoers to work. The problem is that when sudoers can run the command sudo su and login as user root. It seems very risky to run that command. I ...
1
vote
0answers
365 views

Can ApacheDS LDAP change root user name?

ApacheDS 1.5 has the following account by default. Bind dn or user: uid=admin,ou=system Bind password: secret i would like to change it to the following to avoid making changes in my code Bind dn ...
3
votes
1answer
3k views

SSH VPN tunnel without having to enable root

ive been trying to setup a VPN SSH tunnel and ive had success executing ssh -Nv -w 0:0 root@192.168.2.2 -p 50 however what i am wondering is, can i do the tunneling without having root unlocked ...
1
vote
1answer
771 views

Access denied for root user

my ssh has started to refuse users from out of the blue. I started to connect via Putty as root, me and other users. login as: root root@31.XX.XX.XXX's password: Access denied What could be wrong? ...
2
votes
3answers
1k views

SSH hosts.deny and hosts.allow

I have this content in hosts.deny (with a new line at the end): # # hosts.deny This file describes the names of the hosts which are # *not* allowed to use the local INET services, as decided ...
3
votes
2answers
4k views

SFTP Access Restricted with new Sudo Root User

So in attempts to secure my server a bit, I created a new user with su - root access and denied root login. Now I can't SFTP any files on my server through Filezilla with this user. These are the ...
12
votes
3answers
2k views

What's the best solution to manage root password of thousands servers

I'm a system administrator. In the production environment I need to manage thousands of servers. My colleagues and I uses a central manage server and distribute its public key through other servers. ...
2
votes
2answers
1k views

Remotely use root over ssh for unison

I'm a little confused on how to run unison to sync files with group and owner attributes on an ubuntu system, as you need to be root. But I need to do this remotely and automated. I know I can set up ...
2
votes
2answers
823 views

How to give ownership to root without being root ? (needed for Apache)

I've got a PHP script that creates a folder on my server. This folder is supposed to be accessed via Apache, and users can view it online. Now if I create this folder while being root, everything ...
0
votes
2answers
3k views

Apache/PHP root exploit

Because of insecure handling of uploaded files, an attacker was able to run php code on my server (CentOS 5.4) That issue has been fixed, but while he was connected he appears to have modified a file ...
1
vote
3answers
505 views

Git: push via ssh to a root owned repository with ssh root logins disabled

is that even possible? Summary, i'm running puppet master on a server and ideally we want root logins via ssh disabled, we want to force all access via sudo if root access required however we have ...
-3
votes
2answers
119 views

Automate root ssh scripts [closed]

We require to be able to run some script as root from nothing other than an SSH login. IE, we have root and password, and we need to perform a script action on a bunch of servers.
8
votes
1answer
629 views

Allow password access for all users except root?

I want to leave the root user enabled on my servers for convenience, and the only reason people are against the idea (that I know of) is brute-force attacks on SSH. So, is there is a way in SSH to ...
0
votes
3answers
1k views

How to give user root access without giving him root password

The scenario is this: I have a development machine I want (need) to have root access to Our admin setups the machines using his own credentials for the root user. The explanation being that if ...
-1
votes
4answers
176 views

Linux /home privacy

Warrning: this is probably against Unix philosophy and desgin, but I will ask it anyway. Is there a way to achive privacy for three seperate /home/user folders? Problem which is rasing that ...
4
votes
3answers
3k views

Run application as root without sudo

I have an application (VirtualBox) which I need to run as root user. I can run sudo VirtualBox just fine, but I want to have a shortcut on my Desktop which I only have to click on to start VirtualBox ...
104
votes
23answers
10k views

How do you make it obvious you are on a production system?

A few of us at my company have root access on production servers. We are looking for a good way to make it exceedingly clear when we have ssh'd in. A few ideas we have had are: Bright red prompt ...
3
votes
1answer
3k views

Linux :: Shared aliases in /etc/profile.d not applied to root user, why?

On my Fedora 14 developer machine I can add a sharedAliases.sh file to /etc/profile.d -- both my user and root user then have access to the shared aliases. Switch over to remote CentOS 5.7 machine ...
14
votes
2answers
870 views

how do i perform root actions from non-root account?

I want to be able to restart services from a php-script. running under the www-user account. What's the preferred way to perform these actions? I recon I can place create a file with que'd commands, ...
1
vote
1answer
2k views

Booting root filesystem on LVM

I can't seem to make this work (or find info on the internet on the issue). Are there any additional settings when creating initramfs with the root filesystem on lvm? This should be the settup: ...
2
votes
1answer
2k views

How to share drive root of USB hard drive in Windows Server 2008?

Windows Server 2008 -> Computer Management -> System Tools -> Shared Folders -> Shares I can set up a share for the root of the external drive, but I cannot access it from another computer on the ...
0
votes
2answers
132 views

How to avoid accidental root access to non-world-readable directories?

Given the following directory: drwx------ 2 joe joe 4096 Jan 11 2010 /home/joe Is there a way for me as the user root, to avoid accidentally cd-ing into this directory? I'm not looking for actual ...