[arm-allstar] WARNING: Exclamation Explanation - Don't use it
Doug Crompton
wa3dsp at gmail.com
Mon Dec 11 01:40:56 EST 2017
Don,
The "!" in bash is used for history expansion. To use it you would have to
either enclose the password in single quotes 'this is my password!' or
escape the "!" as in - this is my password\!
I am not absolutely sure this works in passwords but it does elsewhere. You
can give it a try and report back your findings.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Mon, Dec 11, 2017 at 1:21 AM, "Don Backstrom AA7AU via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
>
> While stumbling around setting up another node today, I fell into
> an apparently known, but undocumented, HamVoip/AllStar/Linux/PHP *trap*. My
> first clue was that Supermon just refused to work properly.
>
> I had made the creative mistake of using an "!" embedded in my
> password. Gee, it sounded like such a good idea.
>
> Apparently this can cause massive thrombosis in the node innards
> by triggering all sorts of parsing errors, which can be found if you
> finally look in the logs otherwise available thru Supermon (ooops ...).
>
> If you didn't know this, I'll save you an hour or two of misery
> (until the documentation gets updated): Be forewarned - Don't use an
> exclamation point (!) is any variable definitions especially passwords - it
> totally confuses the parsing of the config files it seems.
>
> My thanks to those two folks who pointed this out earlier this
> year in the emailing list (I eventually found them in the archives). That
> new search function is a very nice tool.
>
> Don't you just love mysteries with hidden solutions when you're
> simply trying to make something work?
>
> Don't use !
>
> Cheers,
>
> - Don - AA7AU
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
More information about the arm-allstar
mailing list