Questions tagged [root]

root is the default administrative account for Unix-based systems. It is comparable to the Administrator account of a Windows system.

root is the default administrative account for Unix-based systems. It is comparable to the Administrator account of a Windows system.

548 questions
2
votes
0 answers

vsftp ignoring local_root and goes to home dir instead

I have setup vsftp multiple times with these settings without ever having a problem. But I recently got a new server which for some reason seems to ignore local_root. I have a user that if logged into FTP, should automatically be redirected to the…
goocreations
  • 131
  • 2
  • 8
2
votes
1 answer

debian/exim4: eading local mail with the mail command as root

I am using a network-less LXC container with a small debian stretch setup, which contains exim4 and probably, nothing more from mail related programs. I am able to send mails to the root user and I can see them in /var/mail with name mail…
mabra
  • 151
  • 1
  • 5
2
votes
1 answer

Disabling logging in as root via kickstart? Advice recommendations?

This is a two part question. Firstly, I am just looking to validation, if I am doing this correctly since I am not sure how to test this. The goal is to disallow the login of the root account and have everyone use sudo. To achieve this, I am putting…
Alex Mikhaelson
  • 107
  • 1
  • 2
  • 7
2
votes
1 answer

Google Authenticator PAM on SSH blocks root login without 2FA

Situation: I have activated Google Authenticator 2FA for SSH logins on Ubuntu 16.04 but made it optional in the /etc/pam.d/sshd: auth required pam_google_authenticator.so nullok I have setup the 2FA for accounts which can login from the Internet…
Arno
  • 23
  • 1
  • 3
2
votes
5 answers

What is my MySQL root password?

Where or how do I check MySQL root password? I don't have a .my.cnf file, I can't login to SQL console (it requires a password), I can't do anything.
mysqllearner
2
votes
1 answer

Why would I need root access?

I'm not a backend guy, so please forgive such a simple question. I'm considering a php management service like Cloudways, because I'd like dedicated droplets, but without the manual setup. However, there is no root access. I will primarily be doing…
v15
  • 145
  • 1
  • 5
2
votes
1 answer

"user is not in the sudoers file" despite user belonging to group wheel

I've added a new user to the group wheel. I can ssh into the machine with this user and password and confirm that it belongs to that group: [newuser@xxx.xxx ~]$ groups newuser wheel But still, if I try to run anything with root…
rhoanan
  • 21
  • 1
  • 2
2
votes
1 answer

Any downsides of starting a SSH connection as root?

I'm aware that allowing root access to a server over SSH is a bad idea (i.e. allowing login as root over SSH). But how about the other end of the equation? Are there any downsides of initiating a SSH connection from a client machine where I am…
Timo
  • 21
  • 2
2
votes
2 answers

Changing root password via script fails but reports success

I have a project which requires me to make a script / sequence of commands to change the root password on a CentOS 7 installation. I can assume the user that will be executing the script is already root. Currently, I'm using the following, and…
example6
  • 33
  • 5
2
votes
1 answer

I've accidently run chmod -R 600 / on ubuntu AWS Server

I've accidently run chmod -R 600 / on ubuntu AWS Server. Tried stopping it but didn't happen. Is there a way by which I can atleast backup my data present in the server. Thanks.
Akshay R.
  • 23
  • 6
2
votes
1 answer

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 through SpectrumScale and tested it by logging into…
mrbarker
  • 137
  • 10
2
votes
2 answers

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 permission denied error. How can i save the file…
john
  • 45
  • 1
  • 7
2
votes
1 answer

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 allow_writeable_chroot=yes VSFTPD should block root access by…
WayneT
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

How to log administrator activities in Red Hat Enterprise?

Is it better to use auditd or sudo logs to log root and other user activities on a Red hat enterprise machine?
JinPangPang
  • 135
  • 6
2
votes
4 answers

Changing the root password

What are the implications of changing the root password? Is there anything that will be affected? I'm using a private shared SSH key - I assume I do not need to change this as it is not tied to the root account password.
somejkuser
  • 250
  • 3
  • 10