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
2answers
2k 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
256 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
241 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
901 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
5answers
4k views

Can't login using ssh as root

I am trying to virtualize an old linux server, and the PtoV software requires a password login as root via ssh. However, the root login is being prevented with a "Permission Denied" error on the ...
0
votes
2answers
251 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
533 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 ...
9
votes
4answers
7k 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
842 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
275 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
962 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
544 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
21k 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
677 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
524 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
105 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
618 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 ...
23
votes
5answers
25k 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
524 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
471 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
334 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
9k 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
1k 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
28k 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 ...
6
votes
2answers
24k 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
6k 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
946 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
332 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
877 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
268 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
742 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 ...