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
0
votes
1 answer

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 do anything except elavating to other users. So…
Kęstutis
  • 533
  • 1
  • 6
  • 16
0
votes
2 answers

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 root@ip.of.ser.ver I get: root@ip.of.ser.ver's…
0
votes
0 answers

How to change the name of root when sending mail

I would like mail sent from root to be sent as HOSTNAME . On my outgoing-only servers that run exim4, I simply modify the file /etc/passwd and change the name of root to HOSTNAME. Then I go to /etc/email-address and add the line…
exxboast7
  • 51
  • 2
  • 8
0
votes
4 answers

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 problem is that I don't want to have a special case…
gbriones.gdl
  • 123
  • 7
0
votes
2 answers

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??
jjaros
  • 259
  • 1
  • 4
  • 10
0
votes
0 answers

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 want to make sure they work as a disaster…
Jance
  • 33
  • 8
0
votes
1 answer

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 and articles talking about not to log in as root…
coffeekid
  • 124
  • 2
  • 8
0
votes
0 answers

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 chicago.mydomain.com domain because it doesn't know how…
0
votes
3 answers

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 password but I'm still wondering how he came in. In the…
0
votes
1 answer

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: "In order to log into MySQL to secure it, we'll…
0
votes
1 answer

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 designing. As a requirement, I told that guys I…
Jannick
  • 131
  • 3
0
votes
1 answer

Unable to log in to MySQL

I am trying to connect to MySQL through the command prompt. But I always get "access is denied for 'admin'@'localhost' user." (Error 1045). This MySQL is running on Windows 2012 R2 server. There I have two instances of MySQL server running on…
WannaBeGeek
  • 121
  • 4
0
votes
1 answer

ssh unable to login as root

I am unable to login as root via ssh. i have also set the password usin sudo passwd and sudo passwd root no luck. Any recomendations on how to solve this issue? # Package generated configuration file # See the sshd_config(5) manpage for details #…
0
votes
1 answer

Forgot user password and disabled root ssh signin Ubuntu 14.04 server

First I need to say that I'm not pro Linux admin but web master trying to configure server. Though I am learning. I disabled root ssh login in sake of security and then I forgot to save user account password in Keypass. I can actually log in as user…
0
votes
1 answer

rm: cannot remove - Permission denied

Anyone have any idea why I can't remove these? ~# find /var/lib/php5/ -xdev -depth -type f -size 0 -exec ls -al {} \; -exec lsattr {} \; -exec rm -rf {} \; -rwxrwxrwx 1 root root 0 Jan 23 05:20 /var/lib/php5/165498 -------------e--…
johnnygear
  • 83
  • 1
  • 2
  • 8