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

6
votes
1answer
505 views

PostgreSQL: Living without root

This is not a question with a concrete answer, I know, but one that seeks experienced views... The OS environment I run is as vanilla as possible so it's often undesirable to install things into root ...
0
votes
1answer
222 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 ...
0
votes
5answers
256 views

run script from ssh as non root linux

hey well I login to my ssh client as the root user, since I don't know how to do it any other way and then why I try to run this script using the plain old ./filename.ext an error log is generated ...
1
vote
4answers
113 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
247 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 ...
0
votes
1answer
2k 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
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 ...
0
votes
0answers
51 views

PHP not functioning outside vhosts directory - why?

I've got Apache 2.2 working, and my virtualhosts work within the following directories: C:/www (main Apache root) C:/www/vhosts (virtual hosts) However, I cannot get PHP files to function outside ...
6
votes
3answers
3k 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
472 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
355 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 ...
0
votes
2answers
527 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 ...
4
votes
2answers
2k 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
156 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 ...
3
votes
2answers
918 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
249 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
5k 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 ...
3
votes
3answers
6k 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 ...
16
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?
6
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
77 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
164 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
13k 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
274 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
137 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
342 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
153 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
432 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
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:$ ...
1
vote
1answer
906 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". ...
4
votes
3answers
10k 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
670 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
291 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
103 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
543 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
730 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
518 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 ...
2
votes
4answers
103 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
336 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 ...
28
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
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
695 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
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
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
591 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 ...