0
votes
2answers
272 views

Lost root access possibility /sbin/nologin [duplicate]

I accidentally edited the file /etc/passwd on my server in the following way: root:x:0:0:root:/root:/sbin/nologin Now I can not login as root. When I enter the su command, Cannot execute ...
1
vote
1answer
536 views

Access denied for root user

my ssh has started to refuse users from out of the blue. I started to connect via Putty as root, me and other users. login as: root root@31.XX.XX.XXX's password: Access denied What could be wrong? ...
2
votes
3answers
849 views

SSH hosts.deny and hosts.allow

I have this content in hosts.deny (with a new line at the end): # # hosts.deny This file describes the names of the hosts which are # *not* allowed to use the local INET services, as decided ...
0
votes
3answers
1k views

How to give user root access without giving him root password

The scenario is this: I have a development machine I want (need) to have root access to Our admin setups the machines using his own credentials for the root user. The explanation being that if ...
-1
votes
1answer
47 views

Amazon EC2 fault after upgrade lose root access

ufff I upgrade my instance with amazon ec2 . I login again with my keypair and OK I am there User ubuntu Now I make sudo su or sudo -i and now the system ask password . What password I not setup any ...
0
votes
2answers
524 views

How can I limit root to being able to only login on the console via /etc/security/access.conf

I know that I can prevent root from logging in via ssh with /etc/ssh/sshd_config but the auditors also want to see it done in /etc/security/access.conf as well. It seems doable but I can't determine ...
3
votes
3answers
644 views

Best practice for multi Admin root access

I'm trying to put together a security policy for a collection of Linux servers. There are 8 people in my organization that require root level access over SSH. At a past company, my solution was to ...