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

0
votes
0answers
10 views

Ansible log in as regular user and become root

using the new "become" syntax, how do you configure your playbook to log in to a host as a regular user, switch to the root user and ask for a password? I tried: --- - hosts: foo gather_facts: no ...
1
vote
2answers
19 views

Prevent root in linux from changing folder permissions in GPFS filessystem

I have created a NFS export in a GPFS/SpectrumScale filesystem I created. I have enabled AD based authentication with our domain. Everything works. The NFS export was created with NFS4. The NFS ...
1
vote
1answer
14 views

Unable to mount NFS export unless I sudo to root

I created an NFS export on a GPFS/SpectrumScale filesystem I set up. I tested the NFS export on a xLinux, pLinux, z/OS and AIX succesfully. I then enabled AD based authentication on the NFS export ...
5
votes
3answers
34 views

Can I simulate an S3 bucket going down when it is accessible to root user?

I'm trying to test new network monitoring code for an application that runs on a Debian appliance. I am currently tasked with ensuring that an SNMP trap is thrown when external network shares (such as ...
48
votes
13answers
7k views

Linux: productive sysadmins without root (securing intellectual property)?

Is there any way to make a seasoned Linux syadmin productive without giving him full root access? This question comes from a perspective of protecting intellectual property (IP), which in my case, is ...
0
votes
0answers
8 views

How to autostart node forever and spawn() as sudo?

My app periodically spawns a CasperJS scraper: spawn(CASPER_PATH, [SCRIPTS_PATH + fileName, '--ssl-protocol=any', '--user='+user, '--scrapeId='+scrapeId, '--pass='+pass], { ...
1
vote
1answer
34 views

How to btrfs check a root partition

I'm sure the reason I'm having a brain fart is because it's late, but how can I go about performing a btrfs check on the root partition? The device needs to be unmounted, which can't happen because ...
0
votes
1answer
18 views

give www-data the permission to write into /home and others root directories

I have a big problem since few days with permissions on my Symfony2 application. The background : I write a PHP app with symfony2 which gives an overview of many Moodle instances on each servers ...
1
vote
0answers
11 views

Dell Switches and Spanning-Tree Route ID Configuration

I am analyzing a network for a colleague. It's a fairly simple topology and all the switches have converged on a common root-bridge, however two of the non-root bridges have identified the root as the ...
-3
votes
1answer
54 views

as root user why i am unable to delete file whose owner is root?

I am login as a root user but why I am not able to delete bellow file? #ONT/system/shell> ls -lt -rwxrwxrwx 1 root root 4824 Jan 1 1970 flash_lock #ONT/system/shell>rm ...
-5
votes
1answer
46 views

How to increase the size of the root directory in centos 6

how i can increase the size of the root directory .i face some problem of cache of my sql. result of command df -h # df -h Filesystem Size Used Avail Use% Mounted on ...
1
vote
1answer
111 views

Backup with rsync and exclude

I would like to do a partial backup from a server with rsync. my exclude file looks like this bin/ boot/ dev/ initrd.img initrd.img.old lib/ my problem is now, that every lib, bin and so on folder ...
1
vote
1answer
81 views

Why can't I completely remove myqsl from my CentOS 6 machine?

When I hit the command yum remove mysql I get the following error: Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: mysql Error: File contains no section headers. file: ...
0
votes
2answers
40 views

Limit the terminal access to root user in debian

A simple question, I've been looking everywhere and I couldn' find the answer : How can I limit my root account in Debian ? I need that the root have access only to one connection at a time in the ...
-3
votes
1answer
48 views

Cannot SSH in as root using Key

I have searched through serverFault and cannot rectify my problem. An explanation: Ubuntu 14.04 - I am able to SSH into the server using user amenczykowski with a key. I am unable to SSH into the ...
0
votes
2answers
30 views

Enable root to console login only and restrict ssh login for root only

I want to enable root login at the console only, and disable root login via SSH. However other users can still SSH to the server (Ubuntu 14) and even sudo if there part of the sudoers group. I have ...
0
votes
1answer
31 views

Root Login Message

Does anybody have a idea how to do The following on Linux? $ ssh root@<HOST> Please login as the user "ec2-user" rather than the user "root". Not only disable the root login, but show an ...
0
votes
1answer
70 views

Elevating user to root with Ansible

How to elevate Ansible to root for running playbooks? The thing is that the server I want to provision has root access disabled and the only user that has login access has absolutely no permissions to ...
1
vote
1answer
239 views

How to enable login as root on xrdp with centos and GNOME?

Was wondering if anyone knows how to enable root login on xrdp with GNOME and centos 6? Below is my config for /etc/xrdp/xrdp.ini [globals] bitmap_cache=yes bitmap_compression=yes port=3389 ...
0
votes
2answers
110 views

Changed /bin/sh to /bin/busybox for root, broke SSH access. How to fix it?

I made a silly mistake... I was playing around with busybox and used chsh to switch the root shell from /bin/sh to /bin/busybox which seems to have broken the SSH access. When I do: root@dev:~$ ssh ...
-1
votes
0answers
12 views

Give Non Root group of Users access to start mysqld service [duplicate]

I have a Non Root User abc,abc2..... I want to add this to a group of users and want to give the group of user ssudo rights only to restart, start or stop - mysqld service. i.e sudo service mysqld ...
1
vote
2answers
84 views

Give Non Root user access to start mysqld service

I have a Non Root User abc and want to give the user sudo rights only to restart, start or stop - mysqld service. i.e sudo service mysqld restart. How can I do it so? I would like to do the same ...
0
votes
0answers
59 views

How to change the name of root when sending mail

I would like mail sent from root to be sent as HOSTNAME <noreply@example.com>. On my outgoing-only servers that run exim4, I simply modify the file /etc/passwd and change the name of root to ...
0
votes
1answer
43 views

Can't login as any user Ubuntu VPS

We have a DigitalOcean VPS that previously used root to administer. I think that it has been root compromised. I can't SSH into the box as the connection is refused so I try using the DigitalOcean ...
0
votes
4answers
181 views

Auto root login in Linux servers

I'm trying to execute a test in different Linux server distros (Fedora, Ubuntu, Centos, etc). I know that there is an init system that can allow programs execution after boot (without login). The ...
0
votes
2answers
36 views

Restrict su command

I have user1 and user2. Normally, the user root can switch on all users with su command. I want to restrict su command so that the user root can switch only to user1. It is possible??
0
votes
0answers
41 views

Can't login to centos after restore

I'm attempting to run a restore from backup of a test centos server that I have running on a local machine. The server is mimicking the same backup procedures we have running on another server, and I ...
0
votes
1answer
41 views

security issues when executing ssh as root?

i was asking myself, if it is unsafe for some reason, to connect to an ssh-server when you are root on the computer that represents the ssh-client. i was googling, but i only found tons of questions ...
0
votes
2answers
97 views

Why can't I cd to a root owned folder, as a member of the root group? [closed]

I verified I'm a member of root: user_me@host1:~$ sudo useradd -G root user_me useradd: user 'user_me' already exists However, I can't cd to /root/testing from my user: user_me@host1:~$ cd ...
0
votes
1answer
37 views

saving iptables rules without logging in to root

I am trying to save iptables rules file to /etc/sysconfig/iptables. I want to do this without logging in to root. I tried to using sudo iptables-save > /etc/sysconfig/iptables but it throws ...
1
vote
1answer
32 views

Serving additional directory content under root in Nginx

Using Nginx with Django, I have the following location entry in my server config: location / { include uwsgi_params; uwsgi_pass 127.0.0.1:1234; } Thus, all root URL requests are passed to ...
-3
votes
1answer
49 views

CentOS root+nologin [closed]

Can I somehow get access to root account after changing /etc/passwd file? Similar problems: Lost root access possibility /sbin/nologin How do I regain access to root after accidental chsh ...
-3
votes
2answers
40 views

Modifiying a server securely [closed]

I wanted to purchase a dedicated server to host my site. I am a newcomer to this and wanted to know if I hired someone to secure the server and SSH for me, will that put me at risk? Or is there an ...
1
vote
1answer
220 views

VSFTPD allows root access despite being listed in ftpusers file

I've installed VSFTPD on a LEMP stack on Ubuntu 14.04. The only significant changes made to vsftpd.conf are: anonymous_enable=no local_enable=yes write_enable=yes chroot_local_user=yes ...
0
votes
0answers
190 views

Changing Active Directory Root Domain / Forest Domain Name

I have created an AD Network where the root / forest domain is chicago.mydomain.com. I realized that it should have been best to make the root / forest domain mydomain.com and then create the ...
1
vote
1answer
135 views

How to create a file root user can't delete [duplicate]

On Linux systems, I have a file I want to preserve from (even accidental) deletion. How can I create a file even the root user can't delete? For instance, by trying: # touch file # chmod 000 file # ...
1
vote
0answers
208 views

CentOS 7 - root password works only once

I have a very strange issue here. My root password works only once, and as soon as I log out, it ceases to function. Subsequent attempts to log in come back as ‘login incorrect’. I have to drop back ...
-3
votes
1answer
38 views

SSH with user root from 2 different stations both running passwd [closed]

A few days ago, we were connected to a xenserver through ssh (user root) from 2 different stations. And we tried passwd, and we changed the root password to 2 different passwords simultanously. And we ...
0
votes
0answers
464 views

Why can't my root user log in to ssh anymore?

I recently add a new system user and now my root user can no longer log in via ssh. My /etc/ssh/sshd_config is below. cat /etc/ssh/sshd_config # Package generated configuration file # See the ...
0
votes
0answers
47 views

Centos - Extend root partition size on rescue mode

I was wondering what is the best way (and what are the command lines) to extend the root partition size on a rescue mode system, without losing data already in it. My server is running on CentOS 6.6 ...
0
votes
3answers
134 views

How to disable root-login completely

I have server at OVH that suddenly went offline around 12:10 PM. According to my logs the hacker came in with the root-user. Which means that he probably had my password. I already changed this ...
0
votes
1answer
275 views

Root cannot access a directory - access denied

Under Linux (Ubuntu 14LTS), I'm trying to access an encrypted local directory created by a regular user (encfs) as root, but I get access denied: root@toad:/home/robert# cd inbox bash: cd: inbox: ...
0
votes
1answer
125 views

Amazon EC2 Centos instance needs sudo password after update

I've got a terrible problem on a running webserver. It's a webserver running on CentOS, one of the default Amazon EC2 AMI's (images). I've been able to ssh to the server and do my thing until now. ...
0
votes
1answer
91 views

How to fix sudo file on EC2

I managed to save my sudoers file with a syntax error so now I can't do sudo -i any more on my EC2 instance. This effectively locks me out of root account since the only way to get root access on EC2 ...
0
votes
1answer
62 views

how do you secure mysql without a server root password?

I'm currently trying to install mySQL server on a centos6.5 server. I do not have a root password because i use a SSH Key Pair to access the server. During the installation process the prompt says: ...
2
votes
1answer
65 views

How to log administrator activities in Red Hat Enterprise? [closed]

Is it better to use auditd or sudo logs to log root and other user activities on a Red hat enterprise machine?
1
vote
1answer
58 views

Using Unison / rsync over SSH to synchronize sites where full file system access is required yet root login is disabled

Assume two sites A and B with file server at either end. The contents of /storage should be synchronized between the sites, preserving ownership and permissions. There's no all encompassing group that ...
-1
votes
2answers
60 views

How do I remove my user from the “roots” group? [closed]

I accidentally added my user myuser to the group root using the command sudo usermod -a -G root myuser. Now I want to remove myuser from roots, but I am unable to do so. I tried the following: ...
0
votes
1answer
236 views

Using docker without root rights but restricted sudo

I just started a new job and directly got problems with the guys operating our server farms (company is quite big). I was used to use docker and would like to keep that going with the products I am ...
-1
votes
1answer
73 views

Running Rails Application as root user on nginx [closed]

My application(running on nginx) is unable to ssh into a remote machine, reason being that the client has has given ssh rights only to the root user on their server. While debugging this issue, I ran ...