I'm having a weird problem with the oident daemon on my VPS.
When I try running it, I keep getting this error:
[root@ldvps ~]# oidentd
[line 4] This construct is valid only for user configuration files
Error reading configuration file
I also made sure that it reads the correct oidentd.conf from /etc/oidentd.conf by typing
oidentd -c /etc/oidentd.conf
but I get the same error.
Here's my oidentd.conf file:
# Configuration for oidentd
# see oidentd.conf(5)
#
default {
default {
allow spoof
allow spoof_all
allow spoof_privport
allow random
allow random_numeric
allow numeric
allow hide
}
}
There's either something I'm not doing right or there's really a problem with the oidentd.
Any help or other suggestions would be appreciated.
Thank you.
Best Answer
Your
/etc/oidentd.conf
should look like the following:You could define per user configuration. Issue the following
vi ~/.oidentd.conf