Did you make sure and past in the "set for" part too? You need to past in the whole line, and then change out the community name, so it should look like this:
"set newpost_minsecurity commname"
With everything between the quotes, and your comm in place of "commname".