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

5
votes
1answer
224 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 ...
2
votes
4answers
4k 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
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 ...
1
vote
3answers
5k views

How can I run supervisord without using root?

I seem to be having trouble figuring out why supervisord won't run as a non-root user. If I start it with the user set to jason (pid 1000), I get the following in the log file: 2010-05-24 ...
14
votes
7answers
4k views

Should we disable the root user?

Should we remove the root password, disable remote login and basically require adminstrators to use sudo to perform administrative actions?
5
votes
5answers
4k views

Ubuntu - can non-root user run process in chroot jail?

Is it possible for a non-root user to run a chroot process on Ubuntu?
0
votes
2answers
74 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
158 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 > ...
5
votes
5answers
12k views

ubuntu: let a user run a script with root permissions

I have ubuntu 8.04 and I want to write a bash script that runs as root which every user can run. I myself can do sudo. How do I do that? CLARIFICATION: I don't want to do it with sudo, because then ...
2
votes
1answer
258 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
136 views

Plesk don't want to support PHP

i have new root server.Everything fine,but when i try to open the .php file,mozilla tell me to download that file. Example : http://88.198.63.211/index.php How to fix this? Best Regards, DK-System
8
votes
4answers
340 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
4answers
146 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 ...
3
votes
21answers
411 views

While logged in as root whats the stupiest you've done accidently and how did you recover? [closed]

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar ...
0
votes
3answers
5k views

phpMyAdmin - can’t connect - invalid setings - ever since I added a root password - locked out

I run XAMPP, a few days back i had set up a password for the root password through phpmyadmin I am not able to access phpMyAdmin ever since that moment I followed help on this link but everything ...
0
votes
2answers
838 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:$ ...
1
vote
1answer
868 views

sudo: uid 1000 does not exist in the passwd file!

How can i restore my /etc/passwd file? I have access to it, but it's currently empty and I added this to the file, but I can't even SSH to the machine, I'm getting a "connection refused". ...
3
votes
3answers
8k 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 ...
2
votes
5answers
562 views

What is my MySQL root password?

Where or how do I check MySQL root password? I don't have a .my.cnf file, I can't login to SQL console (it requires a password), I can't do anything.
1
vote
2answers
6k views

Reset MySQL 5 root password on Mac OS X

I just installed MySQL 5 on Mac OS X Snow Leopard (10.6.1), set a password and forgot it. I tried to follow this tutorial: ...
0
votes
1answer
263 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 ...
1
vote
1answer
99 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 ...
3
votes
2answers
444 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 ...
3
votes
2answers
725 views

www-data ownership makes the WordPress installation consume more memory

I have a WordPress installation. When the ownership of the folder is root, the memory consumed is okay. However, when I change the ownership to the www-data user, it starts consuming a lot of memory ...
0
votes
1answer
490 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 ...
0
votes
4answers
98 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
44 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
309 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 ...
27
votes
10answers
7k views

Why su to root instead of logging in as root?

I've heard often that it is better to su to root rather than log in directly as the root user (and of course people also say that it's even better to use sudo). I've never really understood why one ...
0
votes
1answer
62 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
566 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
3answers
5k 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
91 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
7answers
588 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
5k 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 ...
2
votes
1answer
2k views

Cannot Login as any user other than Root - permission denied

Help! I'm desperate :) I can't login as any user other than root. I'm on Ubuntu 10.04. Here's command output: root@pinky:~# adduser test Adding user `test' ... Adding new group `test' (1003) ... ...
1
vote
2answers
836 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 ...
6
votes
1answer
665 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
202 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 ...
0
votes
4answers
4k views

mysql fresh install asking for root password

A couple of years back i tried to install apache, php and mysql on my mac. I got it all working but in the end i got fed up of doing everything on the command line so switched to mamp Now I'm fed up ...
1
vote
4answers
244 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
4answers
224 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 ...
0
votes
2answers
99 views

Make nginx be able to access all web files when not running as root

I currently have my server setup as follows A new linux user is created for every website The websites root folder will be owned by this user and has 700 or 500 nginx runs as root:root so it can ...
2
votes
3answers
546 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 ...
1
vote
2answers
469 views

Problem after system update. Root permission denied, user lib permission denied

As I updated opensuse 11.1 with update packages from october and november 2009, I couldnt use the command ping. For root it gives Permission denied and for a regular user I get libresolv.so.2: ...
6
votes
4answers
4k views

Allow root login from one IP address only

I have centos5. Is there any way that i can log into my vps server with root user from particular ip address only. I have read that i can use private key to login into sshd. But the problem is i am ...
0
votes
2answers
240 views

mount -a asks for password with root user

I have set up the cron job at reboot like @reboot sleep 20;mount -a BUt i have received he email that it asks for password how can i supply password with mount
0
votes
2answers
504 views

How can I run hudson under tomcat as a non-root user?

Currently my tomcat is running as root because it does bind to port 80. I do want to run hudson as a non-root user inside tomcat. How do I do this? I'm looking for a solution that would not require ...
2
votes
1answer
1k views

Denied root access to user mounted FUSE file system

Let me start with giving you the details of my setup: I am running Fedora 13 on an x86_64 arch. I have mounted a remote directory using sshfs: jim@localsite $ sshfs jim@remotesite:/home/jim ...
2
votes
3answers
666 views

Root password contains character that can't be entered

Don't know what happend really. I changed the root password to a long password containing weird characters, and triple checked that I could log in with it, and has been ever since. Until now. I think ...