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
2 answers

Why do failed SSH root login attempts appear in auth.log despite disabling SSH root login?

If SSH root login is disabled, why does auth.log keep track of all the failed attempts and thus causing the admin more data to wade through? Can I disable this behaviour? Can I redirect those failed attempts into another file, as the attempts are…
0
votes
4 answers

After using killall -u root, I am unable to access server and all websites are down

I am using CentOS server. I wanted to test how to kick users by kicking myself (root) user. I used killall -u root and it kicked me from the server which was as expected. However I am no longer able to access the server: root@kali:~# ssh…
Kunok
  • 153
  • 6
0
votes
1 answer

CentOs 6.8 - Exim 4.72 unable to send email to the root user. Exim error: ** root@: mail domain "" is syntactically invalid

I will add to this topic ALL info in my posses if something is missed please ask, not vote for close the topic. I AM on CentOs 6.8 with RedHat Exim 4.72 I AM using CSF Firewall also who set a CronJob for do auto updates. When an update of CSF is…
PeopleInside
  • 5
  • 1
  • 7
0
votes
1 answer

ssh login not possible, how to add new user without terminal?

I have messed around big time and now I find myself unable to ssh login via putty/terminal anymore. I am able to login to Parallels Power Panel (https://XXXX:4643) with my root login. I would like to be able to login via SSH again. This is my…
blackflag
  • 1
  • 1
0
votes
2 answers

Locking netfilter in linux

A few years ago when I was reading something about linux server security (maybe it was a book) I encountered a command or an application that prevented the netfilter (iptables) rules from being changed, even by the root. Problem is, I don't remember…
Matic
  • 35
  • 5
0
votes
0 answers

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 32G 0 disk - this volume makes from snapshot of…
Obivan
  • 101
  • 2
0
votes
1 answer

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 unprivileged_user" on my sshd_config. Unfortunally i've…
salvob
  • 13
  • 1
0
votes
2 answers

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. How do I allow them to continue having access to…
0
votes
1 answer

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 shell i get: /usr/local/bin/sudo: permission…
Pablo
  • 1
  • 2
0
votes
1 answer

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 maintenance of the server. I use this to lock and…
0
votes
1 answer

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 remote_user: martin become: yes …
mart1n
  • 173
  • 2
  • 2
  • 7
0
votes
1 answer

How to enable ssh on SunOs 5.10?

I need to launch ssh daemon on a SunOs 5.10 anyone knows how to help (command, etc)?
Lex
  • 127
  • 1
  • 6
0
votes
1 answer

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 that I own, this app is also able to auto install a…
0
votes
2 answers

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 terminal. Any advice will be appreciated.
0
votes
1 answer

Root Login Message

Does anybody have a idea how to do The following on Linux? $ ssh root@ Please login as the user "ec2-user" rather than the user "root". Not only disable the root login, but show an message when login with the root user and then terminate the…