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
1answer
1k 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
19 views

Cannot connect to XRDP as non-root user in OpenSUSE 13.1

I am setting up a VMWare machine with OpenSUSE 13.1, one of necessary things is RDP. The issue is that after installing and configuring xrdp, tigervnc, xfce etc I can connect via RDP only as root. Any ...
0
votes
0answers
14 views

Change the root folder in a ubuntu server, using nginx with serverpilot [duplicate]

Right now there is a ubuntu server using amazon EC2 and serverpilot to build. The web files structure is like this: 1) /srv/users/serverpilot/apps/**site_a**/public/wp-content .. 2) /srv/users/...
0
votes
0answers
16 views

Arch Linux install without root password

Is it possible to install (and later maintain) Arch Linux (or some of its derivatives) without ever setting root password - using only user account and sudo? The same way it's done in Ubuntu and many ...
0
votes
1answer
26 views

Remote host identification has changed

I'm trying to connect serverpilot manually on a cloud server at OVH (unbuntu 16) via the terminal on my mac (ssh root@vpsXXX.ovh.net) The operation failed once and now that I'm trying to re-setup it ...
3
votes
3answers
4k views

Remove user from root group

Somehow I managed to add user Tom to root group in Ubuntu, in order to avoid using sudo everytime (bad decision). Now I want to remove it and I can't. I've tried using usermod -G {groups} Tom My ...
6
votes
2answers
4k 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 /home/...
0
votes
0answers
60 views

Shrink aws ec2 instance root volume (ubuntu 14.4)

I read from some link and applied these things lsblk xvda 202:0 0 32G 0 disk / = this disk attahced to new instance from old one xvdb 202:16 0 80G 0 disk /mnt xvdc 202:32 0 80G 0 disk xvdg 202:96 0 ...
-7
votes
1answer
35 views

Meaning of root zone

db.root file What are these lines suposed to mean? $TTL 86400 . IN SOA A.ROOT-SERVERS.EDU. root.A.ROOT-SERVERS.EDU. ( 1 ; serial number (update count) 28800 ; refresh (8 h) ...
0
votes
1answer
27 views

SSH blocked on non sudoer user can't execute root command

Yesterday i've auto-blocked my root privileges on a remote server. I was trying to enabling ssh access for a non priviliged user (not in the sudoer list) and i've added the line "AllowUsers ...
0
votes
0answers
31 views

CentOS passwd file error

A co-worker tried to change the home directory of our root user and should have entered: root:x:0:0:root:/var/www/vhosts:/bin/bash ... but instead, entered: root:x:0:0:root:/root:/var/www/vhosts ...
7
votes
4answers
266 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 ...
1
vote
0answers
37 views

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

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 ...
4
votes
2answers
3k views

Permission denied for root to change inotify max_user_watches, how solve this?

As root in a CentOs 6.4 server I got this error in an application: Fri May 16 01:45:23 2014 Error: Terminating since out of inotify watches. Consider increasing /proc/sys/fs/inotify/max_user_watches ...
-1
votes
2answers
130 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 ...
1
vote
3answers
2k 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.
10
votes
5answers
23k views

Why (or how) does the number of open file descriptors in use by root exceed ulimit -n?

Our server recently ran out of file descriptors, and in regards to that I have some questions. ulimit -n is supposed to give me the maximum number of open file descriptors. That number is 1024. I ...
0
votes
2answers
18 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. ...
0
votes
6answers
2k views

what is a root server hosting? [closed]

While searching online for dedicated hosting servers i stumble on some websites offering root servers for great prices compared to other dedi servers while features were also great. Does anyone know ...
2
votes
3answers
811 views

Chown root mistake

I accidentally executed the chown userx:userx / command. Is there a way to fix this in a gentle way? I know the mysql folder has to be owned by mysql:mysql. But what about the other folders? Are ...
0
votes
0answers
2k 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 (pfsense....
11
votes
5answers
60k views

How to configure vsftpd to allow root logins?

I'm on SLES 10.1, and trying to configure vsftpd to allow root logins. Does anyone know how to do this? So far, I have this: local_enable=YES chroot_local_user=NO userlist_enable=YES userlist_deny=...
0
votes
3answers
2k views

Cannot start apache (Unable to change directory to /root)

When trying to start Apache by using: /etc/init.d/httpd start I get the following error in /var/log/httpd/error_log: Unable to change directory to /root Anyone have any idea what this means?
4
votes
1answer
3k views

How do I “sudo -i” specific command

I need to run important_script.sh as with sudo -i without password. If I have in sudoers: apache ALL = (root) NOPASSWD: /blah/important_script.sh and run "sudo /blah/important_script.sh" I can ...
0
votes
1answer
42 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 ...
-1
votes
1answer
98 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 ...
1
vote
1answer
26 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 ...
6
votes
1answer
571 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
57 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
205 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
votes
2answers
276 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
185 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 ...
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 ...
1
vote
2answers
29 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
26 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
86 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 ...
0
votes
0answers
63 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], { detached:...
0
votes
3answers
4k views

Root users and mysql: `sudo mysql` vs `/root/.my.cnf`

I have a /root/.my.cnf file which stores the mysql root user's password: [client] password = "my password" When I log in as system root and enter mysql, I get a passwordless login: myuser@local:$ ...
3
votes
4answers
8k views

How to override a PATH environment variable in sudo?

I set PATH in /etc/profile. I do not have any problems in the case of the general user, but PATH does not go when I become the root authority in sudo. What would you do to override the PATH which is ...
12
votes
3answers
24k 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 ...
4
votes
2answers
5k views

SSH VPN tunnel without having to enable root

ive been trying to setup a VPN SSH tunnel and ive had success executing ssh -Nv -w 0:0 root@192.168.2.2 -p 50 however what i am wondering is, can i do the tunneling without having root unlocked ...
1
vote
1answer
183 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
32 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 ...
0
votes
4answers
1k views

Ubuntu keep admin rights; skip entering password and sudo

I was wondering if there is a way to enter in my admin password someplace just once and keep it for my entire time logged in. I hate having to type sudo command-name* every five seconds, or typing in ...
1
vote
1answer
241 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: ...
-3
votes
1answer
68 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
194 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 /dev/mapper/vg_host-...
1
vote
1answer
120 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 ...