Quoting passwords correctly.

Peter L. Berghold Peter at berghold.net
Sat Apr 8 03:41:50 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In my setting up tests I found a minor annoyance.  Say I have a
postgresql database that I want to run the check_postgres check against
and the password for the account I'm using to test against looks
something like:

$a!10rm00n


Now that's not really the password I'm using, but it has some of the
features of the password that is tripping me up.  How do you quote the
"$" and "!" in that password.  I have a feeling based on the behavior of
the Nagios check I've configured that they are being translated by the
shell or something else because the login is failing.



- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                     Peter at Berghold.Net
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFENxTdUM9/01RIhaARArLDAKC8aT3Fu46BD8fMnLFuoXw81fP8JACfc19o
ey1sRcHnvc5s8F4Oc39/kiA=
=upZr
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Peter.vcf
Type: text/x-vcard
Size: 192 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060407/c6da117d/attachment.vcf>


More information about the Users mailing list