I'm trying to use the new version of nc_net on a w2k3 server.
I see that pass in the startup.cfg is now deprecated and according to the doc I need to do that :
"This is now saved in the file: user.sys in the config directory. The format is <Password> on the first line of the file."
I created my user.sys file in the config folder of Nc_net installation folder (same as startup.cfg) , it contains :
<test>
also tried with only
test
I try on my nagios server the check_nt command and I receive every time a "WRONG Password" feedback! !
Of course every time I've made a modification on the user.sys file, i've restarted the services just before my new test… but still without success!!
What did I miss please???
Best Regards!
Jc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Documentation.html has a typo
The file name is user.dat not user.sys
The only user.XXX file in the config folder should be user.dat,
I will make sure it is adjused in the config on the next release.
THe user.dat file expects only the password.
No extra whitespace(enless it is part of the password), no Newline, …
yes the password supports whitespace and special characters
The password can also be changed via check_nc_net through the active command. CHANGEPASS
but this should be done manually using checK_nc_net and it naturally is expecting you to use the current password in order to determin if your a valid command.
when manually changing the password file, make sure to Stop thenStart NC_Net when done.
The test using a test_console, check_nt or check_nc_net.
if everything worked succesfully then chang eyour nagios configs.
Also note that the default is not an empty password but the case sensitive word "None" (without quotes)
Hope this helped,
Tony
(donations for nc_net are accepted via Montitech.com)
to be safe. Turn off NC_NEt,
CHange the password in the file
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Nc_net community,
I'm trying to use the new version of nc_net on a w2k3 server.
I see that pass in the startup.cfg is now deprecated and according to the doc I need to do that :
"This is now saved in the file: user.sys in the config directory. The format is <Password> on the first line of the file."
I created my user.sys file in the config folder of Nc_net installation folder (same as startup.cfg) , it contains :
<test>
also tried with only
test
I try on my nagios server the check_nt command and I receive every time a "WRONG Password" feedback! !
Of course every time I've made a modification on the user.sys file, i've restarted the services just before my new test… but still without success!!
What did I miss please???
Best Regards!
Jc.
Sorry for the delay,
Documentation.html has a typo
The file name is user.dat not user.sys
The only user.XXX file in the config folder should be user.dat,
I will make sure it is adjused in the config on the next release.
THe user.dat file expects only the password.
No extra whitespace(enless it is part of the password), no Newline, …
yes the password supports whitespace and special characters
The password can also be changed via check_nc_net through the active command. CHANGEPASS
but this should be done manually using checK_nc_net and it naturally is expecting you to use the current password in order to determin if your a valid command.
when manually changing the password file, make sure to Stop thenStart NC_Net when done.
The test using a test_console, check_nt or check_nc_net.
if everything worked succesfully then chang eyour nagios configs.
Also note that the default is not an empty password but the case sensitive word "None" (without quotes)
Hope this helped,
Tony
(donations for nc_net are accepted via Montitech.com)
to be safe. Turn off NC_NEt,
CHange the password in the file
Thank you for the feedback.
I will let you know if it works.