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

-3
votes
1answer
33 views

www-data root permission is a vulnerable on server? [closed]

Is a vulnerable on server If I give root permission www-data user that uses apache, because needed to add users in Linux through web interface?
0
votes
0answers
17 views

ProFTPd unable to seteuid

i'm trying to figure out this problem: 2014-04-07 14:00:58,628 srv proftpd[10143] srv (pfsense.localdomain[192.168.0.1]): FTP session opened. 2014-04-07 14:01:13,779 srv proftpd[10091] srv ...
-4
votes
1answer
34 views

User with “root” privileges can't actually see all folders [closed]

There is this problem with my newly created user with "root" privilages in my web server Ubuntu LTS 12.04 . I follow the rule: adduser newuser usermod -a -G sudo newuser then I add in visudo # ...
0
votes
1answer
50 views

Linux server is usually refusing root ssh/sftp connections; how to fix?

A friend approached me about what appeared initially to be a Wordpress issue on a blog hosted on a Linux box; Wordpress was not upgrading XYZ at first attempt. I tried to get some diagnostics and ...
0
votes
0answers
9 views

Solaris /etc/xdg/autostart root script pam_authenticate conversion failure

Im running SOL11.1 and have setup a desktop file to run in /etc/xdg/autostart this calls a main script which calls other scripts. The regular commands work. But the sudo commands doesn't seem to ...
0
votes
2answers
26 views

Root is not allowed to grant privileges on a MySQL database

I have a MySQL database and I am not able to grant permissions to users on newly created databases when logging in as root. mysql> create database test1; Query OK, 1 row affected (0.00 sec) ...
0
votes
1answer
25 views

Local file server needs root access to change permissions

The previous developers set up a local Linux file server (FreeNAS 8.1) and while we can log in through the username they provided we do not have root access so we can not change permissions or do ...
2
votes
4answers
63 views

program needs to be run as root by any user and can be located anywhere

I have some program called foo that needs root privileges when it executes. foo needs to be able to be run by any user and can be located at any path. The reason this program can be at any path is ...
1
vote
0answers
38 views

Why can a local root turn into any LDAP user?

I know this has been asked here before, but I am not satisfied with the answers and don't know if it's ok to revive and hijack an older question. We have workstations that authenticate users on an ...
-2
votes
3answers
58 views

Which directories in Linux must be part of the root filesystem?

I'm building a few virtual machines under KVM where the base system will be an image (haven't decided specifically which format yet), and all of the remaining system files will be other partitions ...
0
votes
0answers
43 views

Root denied login if networking down (LDAP environment)

I would like to know why I can't login as root (ssh, sudo or su -) when my LDAP is down or when I have some outage in my network. How to reproduce the problem: - Just change your DNS to something ...
1
vote
2answers
86 views

Changed SSH default port and disabled root login. Client didn't save the new port can't login/connect to it now

Working on my centos server. Connecting via putty. Changed SSH default port and disabled root login. But the client didn't save the new port and defaulted back to 22 (my new one was 42650 or something ...
2
votes
3answers
85 views

Disabled root login for SSH in Centos 5.9, key login no longer working

I have a Centos 5.9 server which I have previously configured to access via SSH key login and this has been working fine for many months. I recently had to have an issue resolved remotely which ...
0
votes
1answer
36 views

sudo su in screen — security issue?

Just logged back into a server and reconnected to an existing screen using screen -R. I had completely forgotten that I'd used sudo su - earlier and had not exited afterwards, so when I reconnected ...
1
vote
3answers
24 views

Create mysql database and user with only system root privileges but not mysql root privileges

I have been granted root privileges to a server for a class project. I need to create mysql databases and users. I without tracking down the right people at the university do not have mysql root ...
0
votes
3answers
464 views

root cannot access user's home folder shared via NFS

We have a local server that exports an NFS share, used as parent directory for Linux home folders in the network. The users authenticate via LDAP (running on the same server). Authentication works ...
0
votes
0answers
63 views

Pam password policy not working for root

I was following this guide (http://xmodulo.com/2013/12/set-password-policy-linux.html) for setting up pam and password for policy for CentOS. Everything works great except the root or any user's ...
1
vote
1answer
50 views

recovering from a plaintext password in usermod -p

My small office's server was under attack yesterday and today and apparently the hacker gained access through a weak password (i.e. I am to blame entirely). The moment I noticed this, I fysically ...
0
votes
2answers
249 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
83 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
19 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
29 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
346 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 ...
0
votes
0answers
231 views

file system rootfs, which is mounted at /, reached warn status because it is 90% full

I have a dedicated server with OVH. Problem is that i keep receiving warnings that the / is getting full. Yesterday it was 89%, today it is 90% and tomorrow it will probably be 91%. It keeps ...
-1
votes
1answer
99 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
29 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
40 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
0answers
260 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
66 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?
0
votes
1answer
287 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
546 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
453 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
169 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 ...
3
votes
1answer
378 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
46 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
577 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
87 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
28 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
168 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
35 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 ...
11
votes
10answers
4k 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
88 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
41 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
589 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
58 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
62 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
133 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
283 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
25 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
64 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 ...