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

1
vote
4answers
114 views

How to re-gain access to a running EC2 instance?

We own an AWS account but we're no longer in contact with the developer who had sole access to the running EC2 instance. Restarting the instance may not be possible: As far as we understand, shutting ...
0
votes
1answer
1k views

How can I expand the /dev/root partition?

How can I expand /dev/root? I can't seem to do this using an LVExtend command. Thanks, James
0
votes
1answer
273 views

D-Link DMC-1002 Management Module Password Reset

We just purchased a D-Link DMC-1000 media converter chassis with a DMC-1002 management module. Connected to the module through a COM port and PuTTy and changed the root password. Subsequent login ...
1
vote
3answers
2k views

Access file outside document root

I'm trying to write on a file that is outside the document root, which is /var/www/html. The file I want to access is /home/user/files/folder1/info.txt, but my PHP file can't open it (it does even say ...
7
votes
3answers
2k views

How to get the number of available updates on an Ubuntu system as a normal user

I need this for a simple monitoring script which i don't want to run as root...
2
votes
2answers
536 views

Reset mysql root password after phpmyadmin corrupted it [duplicate]

So I tried to change my mysql root password for the first time using a advanced pattern and it looks like phpmyadmin stripped the password on save. Now I can't login under root. I am using RHEL 5 ...
2
votes
1answer
377 views

Main Apache pid as root, even though set up to be nobody?

I believe I had set everything up correctly when I had built the server (maybe it was a pre-configured LAMP that the VPS host Linode supplied that set things up) It seems that every Apache process ...
19
votes
4answers
3k views

Ordinary users are able to read /etc/passwd, is this a security hole?

ls -l /etc/passwd gives $ ls -l /etc/passwd -rw-r--r-- 1 root root 1862 2011-06-15 21:59 /etc/passwd So an ordinary user can read the file. Is this a security hole?
2
votes
3answers
2k views

running red5 on port 80

I have a red5 application http://code.google.com/p/openmeetings that runs under red5, and is accessible on port 5080 and 8443 I've installed it on Ubuntu 10.04 The eventual aim is to have it ...
4
votes
2answers
3k views

RSync over SSH - permission denied even though the user is in the root group

I have a need to copy files between servers through the web. I'm using RSYNC over ssh to do so. The problem is, I need to be able to transfer files, no matter where the files is. I created a user ...
0
votes
4answers
1k views

Bash script normal user to Root

I have some question. I'm trying to create some bash script to automatically some task. I need to do the first step of the task as normal user, and su - to be root to finish the task. I've been ...
0
votes
1answer
165 views

Member of root group on two different computers, permissions don't match

I am a member of the root group on two different computers. On one computer I can do almost anything while I can't do these same things on the other. Example: iptables --list which is owned by ...
0
votes
2answers
822 views

How can I limit root to being able to only login on the console via /etc/security/access.conf

I know that I can prevent root from logging in via ssh with /etc/ssh/sshd_config but the auditors also want to see it done in /etc/security/access.conf as well. It seems doable but I can't determine ...
3
votes
2answers
1k views

Allow non root access to /root folder

I have a folder that normally lives under /root and is usually used by a root user. I need to allow another user (other than root) to use it now, but it has to remain under /root. Is that possible? ...
5
votes
1answer
323 views

Ports below 1024

DISCLAIMER: I know how to run daemons that either listen on ports <1024 by using privbind or some iptables REDIRECT. Or more generally spoken, how to make daemons available on priviliged ports that ...
5
votes
4answers
8k views

Is there any way to point the root domain to a CNAME? [duplicate]

Here is the problem: we host our website with an external provider that doesn't give us an IP address, rather, they give us a domain where we point our www CNAME record to. I assume they are using ...
0
votes
1answer
173 views

Running a script as root at bootup

I have a simple script to help me do some power saving: #!/bin/bash echo 1 > /sys/module/snd_hda_intel/parameters/power_save echo min_power > ...
7
votes
4answers
1k views

Correct user names when tracking /etc/ in git repository and committing as root

We use git to track changes in /etc/ on our servers. Administrators work as root when changing files in /etc/, and thus their commits have author root <root@machinename> This is not very ...
2
votes
1answer
313 views

How do I regain access to root after accidental chsh command that went bad?

I did a silly silly thing. While attempting to change the shell for user 'x' I was in a rush and did not type the users name at the end of the command, so I ended up running this: chsh /sbin/nologin ...
0
votes
1answer
243 views

Locked out of EC2 ubuntu instance

root access worked on my EC2 instance for a couple of weeks until I did sudo aptitude update sudo aptitude upgrade and now sudo asks for a password (which I have never been given). I can't ...
3
votes
7answers
1k views

Changed root's shell to non-existing path

I just made a bit of a mistake: Fresh install of FreeBSD 8.2 logged in as root installed bash from ports created users, setting bash as shell vipw (edit passwd file) changed root's shell from ...
1
vote
4answers
159 views

Explanation of my SSH log file please

I'm trying to understand what I'm seeing in my SSH log file so that I can best defend against the bad guys. Particularly interested in understanding the number listed after "port" in the log. Here is ...
0
votes
2answers
1k views

Root users and mysql: `sudo mysql` vs `/root/.my.cnf`

I have a /root/.my.cnf file which stores the mysql root user's password: [client] password = "my password" When I log in as system root and enter mysql, I get a passwordless login: myuser@local:$ ...
8
votes
3answers
13k views

Procedure to forward root email to external email

I would like to forward the emails received by root to an external email on an Ubuntu node. I have seen this post, but it does not explain much about the procedure to follow. There are some other ...
8
votes
4answers
345 views

Who gets root access?

I'm working on a web application which handles some sensitive data. We're getting pretty tight on security, and laying out policies to lock down access to machines, and log everything for technical ...
1
vote
1answer
107 views

The lost Root domain

I recently took over the network of a mid size company. The problem I'm running into now is that the company's servers/users/everything is setup in the child domain, and there is no root DC to be ...
4
votes
2answers
894 views

How to change the password for root@127.0.0.1 and root@example.com

I was looking at the users in my mysql.user table and noticed that there are 3 roots. root@localhost root@127.0.0.1 root@example.com When I first discovered this none of the roots were password ...
0
votes
2answers
82 views

Multi-Domain Shared Hosting

I have a shared hosting pack with 2 domains, one is the default domain bought with the pack, and the second will be pointed to a sub-directory within my root. The problem is that I want both the ...
0
votes
1answer
558 views

How to provide write Access to root drive in windows server 2003?

How to provide write Access to root drive in windows server 2003 for "non-admin" users ? This is kind of requirement now, and happening in a controlled environment, so dont bother about security ...
1
vote
3answers
5k views

Root access amazon ec2

Hey guys, I am very new to linux, and amazon-ec2. I wanted to put a quick server. For some reason, when I sign in with my key pair, it prompts me for a username, I input ec2-user, and I'm in. The ...
3
votes
1answer
8k views

How to break from infinite loop, caused by PHP script running as root?

I have PHP script running right now with root permissions that starts from the following lines: set_time_limit(0); ini_set('log_errors', 1); ini_set('error_log', "log.txt"); It was accidentally ...
2
votes
4answers
106 views

1 server for only 1 website, should I use the root user or another user?

So I need a server that will host only 1 website. I will install debian as O.S. I want to know: do I need to setup an user to do my stuff or, considering I will the only user of the server, I can use ...
0
votes
1answer
46 views

Can I set up the server so that a leading slash in the filepath doesn't go to root?

I'm working on a friend's site, which works fine live, but isn't working on my computer. After tearing my hair out for a while, I figured out it's because he wrote all his links with a leading slash. ...
0
votes
1answer
398 views

MySQL root user can't access database

We have a MySQL database ('myhours') on a production database server that is accessible to one user ('edsf') only, but not to the root user. The command 'SHOW DATABASES' as the root user does not list ...
0
votes
1answer
63 views

can I restrict access to root to only connected instance?

It will mean that if I am connected another user that will try to authenticate as root will get an error.
0
votes
2answers
1k views

Allow user act as root, so he does not need to use sudo each time?

I wish for a user to have root privileges, but editing the /etc/sudoers file to allow no password still requires me to use the sudo command before a program I wish to run with elevated privileges . I ...
3
votes
4answers
6k views

How Ubuntu cloud version enforces the “no root login” over ssh?

I'm looking to tweak ubuntu cloud version default setup where is denies root login. Attempting to connect to such machine yields: maxim@maxim-desktop:~/workspace/integration/deployengine$ ssh ...
0
votes
1answer
101 views

How do you tell if a user is logged in as root on Mac OS X?

If I sudo /bin/bash, the who and w command does not show a root login on Mac OS X. How do you enable this?
7
votes
6answers
599 views

Why are we advised to not log into SSH as Root [duplicate]

Possible Duplicate: Why shouldn't root be allowed to login via ssh? Hi, Why is it safer to not log in as root via SSH? Since the login is SSH protected the root password is not in plain ...
0
votes
1answer
338 views

Installing RRDTool without root access

I am trying to install rrdtool without root access on RHEL. Ive done this before on a diff machine where all i had to do was give a prefix in the configure file like : ./configure --prefix=/installdir ...
0
votes
1answer
6k views

DNS SERVFAIL and Incorrect Flag only via TCP: Broken DNS Servers?

Is it poor configuration to return the root name servers in the additional section for a CNAME lookup that points to another domain? Particularly the one I'm seeing this with is a CNAME hosted by ...
16
votes
5answers
57k views

How do I list all users with root?

On a linux box, how do I list all users that have root priveleges (and even better, all users in general along with if they have root or not)?
1
vote
2answers
123 views

linux root server: statistics

I have installed ubuntu server on my homeserver because I want to learn how to setup/manage a root server (before I buy one). On the root server I will host a website. I want to know: which file ...
6
votes
1answer
829 views

Why is the root user named root by default?

This might seem like a silly question but I could see this as being confusing. For example: "Go to root directory" Could be interpreted as: Go to / Go to ~root (usually /root/) I would think ...
0
votes
1answer
235 views

Problem with certificates issued this month (thawte) in apache

We have issued a new certificate this month, and is giving us some problemas. According to thawte, they migrated to 2048 the root, but we can't get the point to configure those new certificates in ...
1
vote
2answers
1k views

Untar with root: is it possible to set the uid?

Is it possible to tell tar to unpack the archive and set the uid/gid to a specific one, when you run tar as root (while using chef) ? Things I already know: I can use -o to extract as root, then ...
1
vote
4answers
255 views

Disable root in linux for SSH

I currently have about 4 servers and I have always used root to login into SSH. But now I realize that its a security risk so what can I do to not login via root?
0
votes
1answer
48 views

Site down after root drive expanion on EC2

Hey there I have expanded the root drive of an EC2 windows instance machine. Now after re-attaching the drive and firing up the instance, i cannot RDP into the instance as the site is down which as ...
0
votes
4answers
240 views

Ubuntu : Need to do file operations without root permissions

I need to let unpriviledged user change ownership of files or create node files on Ubuntu system. I have looked into fakeroot but that did not work. Maybe need to use a jail chroot ? Looking for ...
3
votes
3answers
875 views

Best practice for multi Admin root access

I'm trying to put together a security policy for a collection of Linux servers. There are 8 people in my organization that require root level access over SSH. At a past company, my solution was to ...