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

14
votes
2answers
811 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

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
127 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 ...
-1
votes
1answer
47 views

Amazon EC2 fault after upgrade lose root access

ufff I upgrade my instance with amazon ec2 . I login again with my keypair and OK I am there User ubuntu Now I make sudo su or sudo -i and now the system ask password . What password I not setup any ...
0
votes
2answers
54 views

How do I find current root logins

How can I identify all terminals that have a root login on them on Linux? who -a seems to give me regular logins but what about root?
8
votes
2answers
663 views

Accidently locked myself out of MySQL by changing the host

While trying to get remote MySQL working, I somehow managed to lock myself out with the root account. Normally, I would stop the MySQL service and restart it using /etc/init.d/mysql --init-file, but ...
0
votes
1answer
42 views

CVS does not run properly as nonroot user

I get an "rejected acces to DIR for user USER" message, when I try an "cvs login" to my local cvs... BUT everything works just fine, when cvs is set to run as root... Im running FreeBSD 7.2, here is ...
1
vote
2answers
403 views

How to add root user in nis passwd file?

One of the sys admins accidentally moved aside /etc/passwd... doh! Restoring the file from backup doesn't work... it errors out because root user does not exist. I've got NIS running at this site and ...
1
vote
2answers
1k views

My MySQL root user is gone, how do I recover it?

I was trying to move the MySQL tables so them were in another folder, so I messed out the plugins table or something like that and I ended up reinstalling the whole thing. I did sudo aptitude purge ...
21
votes
4answers
5k views

vim re-edit as root

I often open a file in vim, make some changes and when it's time to save the file is read-only.. (owned by another user). I'm looking for tips on how I could re-open the file as root and keep my ...
1
vote
2answers
178 views

Debian: Unable to connect to ssh with a user I just created

I've a debian 6 installed on a server. I installed ingres on this server, which runs now with the user "ingres", I want to connect to ssh with the ingres user(for many reason, one of them is that ...
6
votes
1answer
544 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
233 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
272 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
257 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 ...
7
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
493 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
365 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
622 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
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
162 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
964 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
260 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 ...
3
votes
4answers
6k 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 ...
4
votes
3answers
7k 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 ...
6
votes
5answers
5k 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
165 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
14k 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
291 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
344 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
439 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
944 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". ...
5
votes
3answers
11k 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
715 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
307 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
105 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
643 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
734 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
530 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 ...