On Sat, 19 Aug 2017, Gustaf Neumann wrote:

         % ns_crypt "password" ".."]
         ..UZoIyj/Hy/c

or from the shell using e.g. Perl
         perl -le 'print crypt("password", "..");'

Thanks. That helped. I am trying to understand the configuration file.
Excuse me for the trivial questions.

In /doc/html/manual/files/admin-maintenance.html, I read about the
flag -s to nsd command:


-s servername

Specify the server to run, if the configuration file defines multiple servers. The Server1 server will be run by default.
<<

Question 1:

I suppose, this servername is read as variable $servername by the
configfile. And I also suppose that the default is "server1",
not "Server1". Am I right? I think, this should be explicit in
the manual.

Question2:

At the end of /doc/html/nsperm/files/ns_perm.html (configuration),
I see that one can specify the file passwd with:

ns_param  passwdfile /usr/local/ns/modules/nsperm/passwd

I though this file was fix and in /modules/nsperm directory
(see /doc/html/nsperm/files/nsperm.html).

Does the above configuration redefine passwd? What about the other
files in /modules/nsperm directory (group, hosts.allow, hosts.deny, perms)? Is there a way to redefine them?
Or a way to redefine the location of /modules/nsperm?

The command ns_perm seems to affect all these files,
the one defined with ns_aparam and the rest in /modules/nsperm?

Thanks
Rodrigo.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to