Posts

Showing posts with the label sudoers

SOLVED Cant use sudo etc sudoers RHEL 5 nopasswd

SOLVED Cant use sudo etc sudoers RHEL 5 nopasswd When using no password you may be thrown a error ex. >>> sudoers file: syntax error, line xx <<< sudo: parse error in /etc/sudoers near line xx Solution : if you are giving a single command then just add a comma user ALL=command , NOPASSWD: ALL instead of ( This will be throwing an error) user ALL=command NOPASSWD: ALL download file now

Solution sudoers file syntax error line xx

Solution sudoers file syntax error line xx When using no password you may be thrown a error ex. >>> sudoers file: syntax error, line xx <<< sudo: parse error in /etc/sudoers near line xx Solution : if you are giving a single command then just add a comma user ALL=command , NOPASSWD: ALL instead of ( This will be throwing an error) user ALL=command NOPASSWD: ALL download file now