Oidentd Error.

Hi all, I'm new to FreeBSD and I have already tried searching on google about this error but no one seems to have encountered it or what.

When I try to run oidentd via [cmd=]/usr/local/etc/rc.d/oidentd.sh start[/cmd] It says
Code:
Command not found

When I try to run it via [cmd=]oidentd start[/cmd] this error is showing:
Code:
[line 12] This construct is valid only for user configuration files. Error reading configuration file

I'm stuck right now and can't find any articles about it.
 
By the way, I added my oidentd.conf in /etc/ and already added
Code:
oidentd_enable="YES"
to rc.conf.
 
Here is in my oidentd.conf.

Code:
default {
        default {
                allow spoof
                deny spoof_all
                deny spoof_privport
                allow random_numeric
                allow numeric
                allow hide
        }
}

global { Reply "hello" }

user root {
        default {
                force reply "UNKNOWN"
        }
}

Thanks
 
Back
Top