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
0answers
30 views

Is it possible to setup ftp server in linux without the superuser privileges? [on hold]

There are a lot of articles about setting up ftp server in linux. Most of them use vsftpd. This program takes configures from files from /etc directory so u can't configure vsftp not as root. So I ...
-1
votes
0answers
22 views

Accidentally chown [duplicate]

I accidentally executed command on c e n t o s 6.4: ch own -R a p ache:a p ache / Then i executed the command and hope rollback everything : ch own -R root:root / But later i logout server Then ...
-1
votes
2answers
72 views

linux + when change passwd we get permission denied

We have installed Redhat Linux 6.5 from scratch the VIA kick start installation and booted into single user mode because I don't have the root password. But when I perform the following: passwd root ...
0
votes
2answers
16 views

Removing root access from pre-existing user accounts

I have a group of servers that I want to retain the users and their data. My problem is that my users already had root access to their servers and some have installed software using the root account. ...
-1
votes
1answer
51 views

Passwordless root login with ssh tectia denied by policy

I need to setup passwordless root access with ssh tectia. I've done the following: created keypair via ssh-keygen as usual copied private key to *source_host*:/etc/opt/SSHtectia/keys/root . Also i ...
0
votes
1answer
30 views

SUDO command only works as root (Solaris 10)

After installing sudo in the system i am unable tu run sudo as a non-root user, when i try to execute any command i get: /usr/local/bin/sudo: cannot execute if i edit /etc/passwd to use a different ...
6
votes
1answer
568 views

PermitRootLogin is no, I cannot login but why password is asked from user?

I have disabled PermitRootLogin and I cannot login to server by root, but password is asked from user: Is this correct? Or there is something here that I'm missing? Why password is asked when it ...
0
votes
1answer
38 views

Debian: How to lock root account AND still use cron. (cron does not work while locked account :( )

I'm setting up a small private server which is connected to internet. For security reasons I would like to lock my root account after setting everything up and then use a sudo user for further ...
0
votes
5answers
131 views

Preserve ownership with rsync, without root

I would like to perform incremental backups (for the entire filesystem) from a machine. rsync does this quite will, however I would like to also preserve file ownership - meaning, make it possible to ...
1
vote
1answer
24 views

Why do I need to start services using sudo when logged in as root in an LXC container?

I've got an unprivileged LXC container which I've set up following the steps outlined on Stèphane Graber's website. Things work pretty well, but I'm having trouble starting php-fpm even though I am ...
-1
votes
2answers
234 views

nginx 1.8.1 only works with default root

I have Cent OS 6.6 with nginx 1.8.1 installed. It seems like if I change the root in the conf file to something other than the default '/usr/share/nginx' it gives an error 403 Permission denied. I ...
0
votes
0answers
75 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
27 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
22 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
53 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 ...
51
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
28 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
105 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
25 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
12 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
64 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
105 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
114 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
178 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
44 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
61 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
42 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
41 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
100 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
506 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
192 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
233 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
70 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
4answers
294 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
45 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
72 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
42 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
128 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
46 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
36 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
52 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
41 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
610 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
262 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
150 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
300 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
557 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
49 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 ...