sudo not working after ./stack.sh

asked 2017-03-24 13:48:01 -0500

devendrabhat gravatar image

Before running "./stack.sh" sudo was working fine, but after running this is happening:-

[root@localhost ~]# sudo
sudo: >>> /etc/sudoers.d/50_stack_sh: syntax error near line 1 <<<
sudo: >>> /etc/sudoers.d/50_stack_sh: syntax error near line 2 <<<
sudo: >>> /etc/sudoers.d/50_stack_sh: syntax error near line 3 <<<
sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

and also the ./stack.sh stopped by saying :-

[ERROR] ./stack.sh:255 Error installing EPEL repo, cannot continue

Please help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-10-24 18:25:22 -0500

Have you tried not as root user?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-03-24 13:34:47 -0500

Seen: 188 times

Last updated: Mar 24 '17