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
5k views

Allow linux root user mysql root access without password

On cPanel when I am logged in as root and type "mysql" without hostname and password it gives me direct access to mysql root user. I would like to do this for one of my non-cpanel server where the ...
1
vote
1answer
353 views

Can't delete directory as root

i've created a directory for a nodejs app some time ago, called blog. The app was started with forever start app.js, nothing special. Now i tried to delete the entire app with folder, i stoped the ...
1
vote
0answers
36 views

Root denied login if networking down (on NIS/YP environment)

My 70+ hosts network (mixed CentOS, Fedora) uses NIS/YP. If networking is working OK, then no major issues occur, normally a trouble-less operation. If connectivity is lost, either by a simple loose ...
0
votes
1answer
98 views

Spawning mongod process using sudo yields two separate mongod processes

I am seeing something weird that I can not figure out: If i run the following command sudo mongod --dbpath /db/database/ --logpath /db/logs/mongodb/mongodb.log & and then do a ps aux I see ...
3
votes
2answers
937 views

Write once, read many (WORM) using Linux file system

I have a requirement to write files to a Linux file system that can not be subsequently overwritten, appended to, updated in any way, or deleted. Not by a sudo-er, root, or anybody. I am attempting to ...
-1
votes
1answer
161 views

MS SQL Express is not enough - whats to do?

I now have my first bigger project of my own. I invested around 500 working hours and the project is done. It's actual ASP.Net with C# and Linq to SQL, the platform is an MS SQL Server 2005 Express ...
0
votes
1answer
34 views

Can I copy root to the root of another computer? [closed]

On Linux, if I copy the root from linux machine #1 to a fresh install of linux on separate machine #2, will machine #2 contain the exact setup as #1? Or do I -have- to create images of the drive and ...
0
votes
3answers
71 views

cannot access ROOT account in Ubuntu 10.04 after an UPGRADE using Synaptic Package Manager

I just did an UPGRADE using Synaptic in my HPZ820 machine. Before executing the UPGRADE, Synaptic gave a message that some upgrades were not authenticated and asked if I would like to continue the ...
0
votes
1answer
752 views

NFS Share with root for anonuid / anongid

I've exported a share from my server and set anonuid and anongid to be 0 (root). However, when I mount the share on the client, it doesn't appear my settings are working as I'm getting permission ...
2
votes
1answer
68 views

Do you need root access to fully backup a server?

I have an account on a server and I would like to automate backups onto another server, I disabled root logins for security. Do you need root access to fully backup a server?
1
vote
1answer
1k views

Disable root login for dropbear? [closed]

Linux noob here. How can I disable root login for dropbear? What I've done so far adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/default/dropbear (not working) adding DROPBEAR_EXTRA_ARGS="-w -g" into ...
0
votes
2answers
1k views

MySQL - Access denied for user 'root'@'localhost' (using password: YES)

I'm pulling my hair out trying to decipher why every time I do a fresh install of mysql on OSX and import a database, the minute I restart the mysql instance I'm prompted with the message: Access ...
0
votes
1answer
688 views

Timeout in locking /.Xauthority

I have google searched and everyone who has this problem has an error in locking /home/user/.Xauthority. The issue is that it is trying to lock /.Xauthority. Obviously there is no .Xauthority in /, ...
2
votes
2answers
2k views

Is it really a bad practice to let « PermitRootLogin yes » on a production server? [closed]

One day (4 years ago), I rebooted my server. After the reboot was complete, I tried to login as usual with my regular (non-root) account. At that time, I had PermitRootLogin no. I got the answer ...
8
votes
1answer
2k views

AWS - removing ec2-user from sudo list

I'm running a production-level Amazon ec2 instance, and I want to close out root privileges to all users. Normally, when one logs in to the instance as ec2-user, the ec2-user immediately gets sudo ...
0
votes
1answer
144 views

File write error while uploading via FileZilla

I have a user xyz which is able to create files in a directory, but when I try to write something on the newly created file, it fails. The file has proper read-write permissions to the owner i.e. xyz. ...
1
vote
1answer
1k views

Accidentally deleted symlink libc.so.6 in CentOS 6.4. How to get sudo privilege to re-create it?

I accidentally deleted the symbol link /lib64/libc.so.6 -> /lib64/libc-2.12.so with $ sudo rm libc.so.6 Then I can not use anything including ls command. The error appears for any command I type ...
-4
votes
3answers
114 views

Cannot login as root user in ssh [closed]

I create an user with root prevelages in my server. Now i cannot login into the server as root through ssh. Also I cannot access the vi editor through the new user login.
-1
votes
1answer
37 views

Site Crashing and Restarting again [duplicate]

Hello i got a wordpress site http://www.flippish.com. I have some problems with my server coz it keeps on dying around 1-2 hours after i reboot apache then restarting by itself i think thats its ...
0
votes
3answers
330 views

Security best practice when running process as non-root user

So I'm trying to run Supervisor (http://supervisord.org/) as a non-root user. However the process outputs logs to the /var/log directory which is owned by root and has 755 permissions. Therefore ...
0
votes
1answer
40 views

IIS and root application

Sorry for my bad english :) I am new to Windows Server and is about to set up a website. I go to the IIS and added a new website. Then I add a application to that website. Lets say the application ...
12
votes
11answers
7k views

Best way to go about changing a root password on 3000+ Solaris, AIX, and Linux servers?

Long story short: Big old corporation, lots of UNIX/Linux servers. I inherited responsibility for a bunch of scripts that that left a few years ago. One of them was a script that would be run every ...
-9
votes
1answer
102 views

When I am root, how do I run one command as user “pi”? [closed]

When I am root, how do I run one command as user "pi"? Distribution Wheezy.
0
votes
1answer
60 views

visudo changes not taken into account

I added three lines to my sudo configuration, using visudo. User_Alias INSTALLERS = myusername Cmnd_Alias INSTALL_CMDS = /bin/yum, /bin/make INSTALLERS ALL = (root) NOPASSWD:NOEXEC: INSTALL_CMDS ...
0
votes
4answers
2k views

The opposite of su: run a command without root privileges

I'm writing a shell script where most commands don't require root privileges. The script should be ran by the administrator. But I would like to be able to "su" to a normal user account for the parts ...
0
votes
1answer
95 views

How to run sudo without Sudo installed

I do not have sudo installed on my machine, but I have a third party program which runs as different user other than root and tries to execute sudo command. Is there a way to enable this program to ...
-1
votes
3answers
66 views

Root access issue from localhost [closed]

I have a strange root access issue - I'm able to login as root via SSH but I'm not able login to the physical machine via terminal. Some more info: - running CentOS 6.4 - password authentication ...
0
votes
2answers
207 views

How do I resize full root or swap partitions in RAID?

It all began a couple weeks ago: When I try to use vi I get "E297: Write error in swap file $ echo "test" > test produces -bash: echo: write error: No space left on device My bash history is ...
2
votes
3answers
367 views

Why should I never run software as root, yet it is frequently recommended to give an account root-access to run software? [closed]

I am a long time technical professional but 100% of my work has been within a Windows environment. I have a pretty good level of understanding of many of the technical issues such as user account ...
0
votes
1answer
27 views

What do I need to change in /etc/apache2/sites-avaible/default?

As in when I check my website at domain.com to show the configuration of wordpress if it's unzipped cause right now when I check it it shows Index of / and my site is in /wordpress. Thanks for any ...
2
votes
1answer
78 views

Effect Locking a user account with a UID of 0

Currently my organization has in it's linux configuration two accounts with a UID of 0 - Root and Root2. If we were to set a failed login attempts setting for the Root2 account, and the account were ...
1
vote
2answers
958 views

How to reset root password CentOS (domU) hosted in Xen?

Need help on resetting root password of a CentOS which is a guess OS (domU) in XEN. I already tried to get to grub but it doesn't display or maybe using a different grub (pygrub). Thanks in advance.
0
votes
2answers
382 views

Lost root access possibility /sbin/nologin [duplicate]

I accidentally edited the file /etc/passwd on my server in the following way: root:x:0:0:root:/root:/sbin/nologin Now I can not login as root. When I enter the su command, Cannot execute ...
0
votes
2answers
365 views

Setting up LVM Volume Groups… hang

My Debian 7 System dosn't boot anymore. The boot stop with a kernel message like thisMy Debian 7 System dosn't boot anymore. The boot stop with a kernel message like this: [.....] Setting up LVM ...
0
votes
1answer
641 views

Allowing root login on sftp while disallowing it over ssh?

For security I only allow a dummy user to log in via SSH on my CentOS 5.8 server, for this I added: AllowUsers dummyaccount When accessing my server I then login with the dummy and use su - to gain ...
1
vote
3answers
145 views

Security advices - ssh root access login

I'd like to have some advices on my case: I have a server with a public ip address. I have a root user with password. I have turn off (in sshd) PermitRootlogin = No Questions/tips/advices: How can ...
5
votes
3answers
200 views

Where I work everybody logs in as root

Where I work now, I am forced to use the root account just like everybody else there does. There are no other users. Not even in the DBs. My seniors explained to me that this is done for convenience's ...
0
votes
4answers
134 views

Linux utility to monitor for stupid / likely ill-advised commands

sudoing adds a little bit of a roadblock to doing potentially stupid and dangerous things in the Linux shell, but it is a meager deterrent to newer Linux users. Still, many users login as root or have ...
0
votes
1answer
393 views

mount cifs permission denied

Hi I have tried to mount with three ways for all of them I got the same error. 1) sudo chmod 777 /estore sudo mount –t cifs -o user=domain/username%MYPASSWORD,noserverino //domain /estore 2) sudo ...
1
vote
2answers
593 views

automysqlbackup - dumped files permissions

I'm using automysqlbackup, here is the default cron entry created #!/bin/sh test -x /usr/sbin/automysqlbackup && /usr/sbin/automysqlbackup My files are stored here ...
1
vote
1answer
220 views

Allow normal user to run PHP script as root using SUDO

How can I allow a normal user on Ubuntu to run php scripts? sudo php /path/to/script/script.php Basically the script needs to be run as root but the users does not have root privileges on their ...
-1
votes
1answer
466 views

Exim spaming errors to log and doesn't send mail to several domains

I have a server with CentOS 5.6 installed on it. It has working mail server of exim + dovecot + mysql + roundcube. My log file /var/log/exim/main.log is already of 3 Gb and continues to grow. It ...
9
votes
4answers
918 views

root full Linux. No free blocks

df -h reports the '/' partition to be 100% full. While running du -hs * on each directory of this partition shows there is still lot of space. tune2efs which reports just one block to be free. Ran ...
2
votes
4answers
5k views

MySQL root problems (access denied for root user)

I've having some very weird issues with my MySQL (5.5) root user. I'm trying to allow an external host to access the root user, but it seems as though my root@localhost does not have "GRANT OPTION" to ...
0
votes
0answers
145 views

root account only working in recovery mode

So I did a full system update/upgrade on my debian squeeze last night. After this was done, I did a reboot. When proptet with a terminal login screen I tried to login as root, but this failed several ...
2
votes
2answers
3k views

ssh root access denied after changing shell

after i tried to change my server shell, i cannot login as root anymore. First, i installed the z-shell (zsh) as root and then i wanted to change it to my default shell. Therefore i used "chsh". My ...
0
votes
1answer
161 views

Default user not in sudoers file

In Debian 6, right after my installation. I try to run a command as root, only to find out that my account isn't in the sudoers file. This is from the main user account that is set up under ...
0
votes
2answers
480 views

CentOS lost Root Access

For some reason I cannot access my root user via SSH. It displays the error on login: could not open session. However I happen to have another user account that is a normal non-sudo user. Is there ...
0
votes
1answer
82 views

copying files using non-root rsync

I have a primary server and a secondary server and I wish to copy files over from the primary to the secondary using rsync. I have mounted the primary disk onto the secondary using NFS and am copying ...
0
votes
2answers
434 views

Nginx location and root

I think I have a trivial problem with nginx but I can't see it. I have the following file tree: /data/www > main/ >> html/ >>>...some files (A) > wiki/ >>...some files ...