Tuesday, November 23, 2010

Monday, November 15, 2010

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

[SOLVED] Can't 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

Monday, November 8, 2010

Solution : NotePad++ tabs to spaces

In version 5.6.8 (and above):

Settings -> Preferences... -> Language Menu/Tab Settings -> Tab Settings (group) -> Replace by space


In previous versions(5.6.7 and bellow):

Settings -> Preference -> Edit Components (tab) -> Tab Setting (group) -> Replace by space


- Mihir Patel