I am Unable to access to root user in oracle linux server
1
vote
2
answers
3485
views
I was configuring Ansible on my server where I created an Ansible user on all servers and gave them sudo access so whenever I ssh to another server using an Ansible user it should not ask me for a password. I successfully configured it on two servers but when I was doing it on another server by making changes in
/etc/sudoers/
file the system became unresponsive and then I restarted my terminal and now when I am trying to login server to the root user it is throwing an error
$ sudo su
/etc/sudoers: syntax error near line 121 <<< sudo: parse error in /etc/sudoers near line 121 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
Asked by user21824488
(11 rep)
May 20, 2023, 11:24 AM
Last activity: May 22, 2023, 11:21 AM
Last activity: May 22, 2023, 11:21 AM