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

8
votes
4answers
6k 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 ...
4
votes
2answers
2k 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
818 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 ...
3
votes
2answers
271 views

Strange message after su

After performing the regular update of my Ubuntu 10.04.1, and a reboot (because kernel update), I opened a terminal window and entered $ su - Password: su: Authentication failure $ $ su - ...
0
votes
4answers
7k 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 ...
0
votes
1answer
914 views

Deleting a file created with a SELECT … INTO OUTFILE

I am trying to delete a file created with a SELECT ... INTO OUTFILE statement into the /tmp directory The file belongs to the mysql user (who doesn't have a login shell). I have administrative ...
0
votes
3answers
1k views

Subversion post commit hook checkout to website document root [duplicate]

Possible Duplicate: Subversion post commit hook checkout to website document root We have setup Subversion on our Debian development box, we have also setup a post-commit hook that will svn ...
2
votes
1answer
3k 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) ... ...
0
votes
2answers
518 views

Cygwin User/home folder non existant

I'm a novice at cygwin/linux administration so please be patient with my ignorance: I'm trying to change my .bashrc profile and setup (.gitconfig ) I can't seem to find my home folder. My hypothesis ...
13
votes
7answers
20k views

How do I disable root login in Ubuntu?

a while ago I gave root a password so I could log in as root and get some stuff done. Now I want to disable root login to tighten security, since I'm going to be exposing my serve to the internet. ...
0
votes
3answers
184 views

Setting up key based authentication for root

I connect to one linux machine with a standard user account and use sudo when it is necessary to perform something a little above my users station. One of those things would be to perform a pull ...
1
vote
1answer
1k views

Used recursive chown on the root directory

Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
4
votes
3answers
652 views

Why is my $PATH variable for root different when I use su root

When I was trying to run chkconfig as an ordinary user (on CentOS 5) I realized that I could not access it because the directory, sbin, is not in my $PATH. When I su to root it still doesn't work. I ...
3
votes
1answer
2k views

Changing non-root user passwords from root (if you don't know the old password?) [closed]

Hey, so I created a user, and he has been sshing in and doing a lot of stuff, but he forgot his password - is there any way for me to change his password without knowing it?
2
votes
3answers
507 views

Recovering From userdel root

A student at my school, whilst logged in as root, committed userdel -r root We quickly came to the consensus that he needed to reinstall (not too big a burden in this environment). But is this ...
0
votes
2answers
104 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 ...
1
vote
2answers
603 views

Ping size limit - FreeBSD

In the man page for FreeBSD ping: -s packetsize Specify the number of data bytes to be sent. The default is 56, which translates into 64 ICMP data bytes when combined with the 8 ...
18
votes
5answers
22k views

what permission to write PID file in /var/run

Ubuntu touch: cannot touch `/var/run/test.pid': Permission denied I am starting start-stop-daemon and like to write the PID file in /var/run start-stop-daemon is run as my-program-user /var/run ...
2
votes
1answer
1k views

How to use rsnapshot without remote root?

I've configured an in-house server to use rsnapshot to backup our hosted RHEL servers but in order to do so, I'm using the root account on those servers so I have access to everything including ...
5
votes
7answers
517 views

Server was hacked. Now login wont accept 'root' as username comes up invalid [duplicate]

On Fedora, root is coming up invalid. WHat is solution?
0
votes
4answers
300 views

Obtaining root access to linux machines [duplicate]

Possible Duplicate: Lost Root and other user passwords I have a number of linux machines (debian and ubuntu) left from a former system administrator. There's no way to find out root ...
8
votes
6answers
464 views

Why shouldn't root be allowed to login via ssh?

why should root access be disabled for ssh? I always hear that's for security reasons. But I don't get it. What's different to login as non-root and then sudo su -? What's the preferred way to handle ...
0
votes
1answer
329 views

Grant root access without having grant access with mysql

In attempts to learn more about apache and mysql, I've been fiddling with my local environment. Fun times. Of course, this leads to my screwing things up. So, thanks for being there. Recently, I ...
4
votes
3answers
8k 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 ...
0
votes
3answers
208 views

All password with '$' inside (phpmyadmin) won't work [UTF-8 problem]

i set up a dedicaced server with a tutorial. I set in PHP : mbstring.language=UTF-8 mbstring.internal_encoding=UTF-8 mbstring.http_input=UTF-8 mbstring.http_output=UTF-8 ...
1
vote
3answers
55 views

Swapping root directory of a web server

One of the clients that I maintain requests a website redesign, we do all the work in a subfolder /newsite/ and they intend to make it live this instant. The /newsite/ is made in wordpress and from my ...
1
vote
3answers
973 views

Deny Home-Directory-Access for root

Hy, a friend and me want to share a Linux-Machine. We both need to get root-rights via sudo for administering that machine. Is it somehow possible to deny the access to the home-folder for the other ...
3
votes
3answers
27k views

chmod -R 777 / on ubuntu - numerous problems

A client has accidentally given the entire filesystem full permissions on their ubuntu 10.04 box. chmod -R 777 httpdocs/cd / As you can see they attempted to cd to the root, and instead gave chmod ...
7
votes
2answers
23k views

Debian: how to create a user with root privileges (sudo)

How do I create a user with root privileges in Debian? Maybe it sounds a bit silly, but I don't think I need user directories, only some rights to run services (mainly web server, mysql, etc.). I just ...
0
votes
2answers
1k views

tomcat6 on ubuntu fails when user set to root

I'm well aware that running tomcat6 is really bad from a security point of view - and opens the box it is running on to all kinds of security risks and attack vectors. That said: When I change the ...
6
votes
3answers
4k views

Rsync over ssh with root access on both sides

I have one older ubuntu server, and one newer debian server and I am migrating data from the old one to the new one. I want to use rsync to transfer data across to make final migration easier and ...
0
votes
2answers
203 views

On Ubuntu, how to design a monitor to run a process when a file is written to a directory?

I want to run a process when a file is written to a directory on Ubuntu. I understand I can write a monitor to do this. (ie not an event based trigger but a 'monitor'). To implement this - other ...
2
votes
2answers
12k views

How to run tomcat6 on ubuntu as root?

I've got an existing software package that runs on Ubuntu that uses a chroot jail and so needs to be run as root. I want to exec this from a java web application running within Tomcat6 on Ubuntu, so ...
7
votes
4answers
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?
1
vote
3answers
2k views

How to run a script in Ubuntu via SSH as superuser?

So I have a script that needs to be executed remotely as root. This isn't a problem with most Linux distros since they have a root account. But since Ubuntu does not, executing anything as root ...
0
votes
3answers
920 views

Is it dangerous to allow every user to run nmap as root?

At our university we have some computers in the "networking lab", that are configured to allow everybody to run nmap as root via /etc/sudoers. Could this be a security vulnerability?
1
vote
1answer
331 views

Our Server Rooted but exploit doesnt work?

My friend's hosting server got rooted and we have traced some of attacker's commands.. We've found some exploits under /tmp/.idc directory.. We've disconnected the server and are now testing some ...
0
votes
3answers
1k views

Super user in LDAP?

I am running 10 Linux machines that is doing different types of work. The machines are configured to use LDAP authentication so when one user is configured in slapd he can login on all the machines. ...
7
votes
5answers
871 views

Why would sshd allow root logins by default?

I'm currently working on hardening my servers against hacking- amongst other things, i'm getting a load of attempts to log on as root over ssh. While i've implemented fail2ban, i'm wondering, why root ...
1
vote
3answers
266 views

UNIX User Account to Restricted SysAdmin (User/Printer Admin only)

I'd like to know if there is a way for a user account to be enabled or elevated to carry out system admin tasks WITHOUT having to use the root account or sudo. Goal here is to allow a user account to ...
3
votes
2answers
740 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
3answers
4k views

need to create space on CentOS - dev/md1 94% full

I have a CentOS Linux dedicated server that is sending me warning messages everyday that it is short on space. The Servers is CentOS Release 5.4 final running cPanel/WHM with fantastico and RVSkins ...
1
vote
1answer
92 views

Help Needed: I removed mysql db access permissions for root user. How can I gain access again?

I accidentally removed access permissions of database mysql to the root user. I'm now not able to create new databases, set permissions, etc. What can I do to gain access again?
8
votes
4answers
694 views

Remote Root Login

I know one of the first things you do to secure a server is disallowing remote root login. Passwords are pretty weak; what do people think of only allowing root login via ssh keys or other ...
1
vote
4answers
658 views

Chown root mistake

I accidentally executed the chown userx:userx / command. Is there a way to fix this in a gentle way? I know the mysql folder has to be owned by mysql:mysql. But what about the other folders? Are ...
0
votes
2answers
941 views

root ssh access - what does this mean

I am wondering when hosts say they give you root access over ssh what does this mean? Does it mean that you can log in using only command line? Or can you use the gnome desktop (or whichever your ...
3
votes
7answers
3k views

How do I securely execute commands as root via a web control panel?

I would like to build a very simple PHP based web based control panel to add and remove users to/from and add and remove sections to/from nginx config files on my linode vps (Ubuntu 8.04 LTS). What ...
3
votes
1answer
825 views

Safe rsync with no passwords between two systems

We are trying to implement a safe rsync for backups between 2 servers. We are trying by all means to avoid having root access with no passwords between the 2 systems and if any just do that for an ...
3
votes
2answers
9k views

Disable local root login, permit root login over ssh

I want to prevent the root user from logging in directly from local console on a RHEL box, but allow login from ssh. Can this be done? Thanks...
3
votes
1answer
1k views

Why are cron jobs appearing in logcheck reports?

I've just installed logcheck and configured it to send mail to me whenever it finds problems. It runs every hour by default at HH:02 and is mailing me stuff like this: Jan 31 20:05:01 Linux ...