PolicyBanner will not Display

ammonsc
Contributor II

I have created a PolicyBanner.rtfd and placed it in the /Library/Security/ folder. Ran the following command

sudo chmod -R o+rx /Library/Security/PolicyBanner.rtfd

The banner will not display on login. It will however display on logout. I tech tried changing the permissions to

sudo chmod -R777 /Library/Security/PolicyBanner.rtf

Still no luck.

4 REPLIES 4

Cornoir
Contributor II

Have you tried using txt plain format instead of rtf? Also you did make the owner root and group wheel by any chance?

donmontalvo
Esteemed Contributor III

We have one at /Library/Security/PolicyBanner.rtfd, and it works fine. We submitted a bug report to have Apple's article updated since it has some wrong information in it.

We have a 300 pixel logo at the top of the document, some text under it, then we save the doc while it is open at a reasonable size (5x7" roughly, not sure what that translates into in pixels).

Set the ownership (recursively) to root:wheel and permissions (recursively) to 755 and try.

The key is making sure the image isn't too big, and that the RTFD is the right size (so its hidden .DS_Store file is set right).

--
https://donmontalvo.com

ammonsc
Contributor II

I have tried plain text, rich text, and RTFD with an image with no luck. The image is 128p at it's largest dimension and the permissions are now set at root:wheel and 755. There is not a .DS-Store located within the rtfd file however.

donmontalvo
Esteemed Contributor III

@ammonsc I is it possible that your packaging tool is removing the .DS_Store file? Not sure it is required, but it would be necessary for setting the size of the RTFD at the login screen. IOW, setting the RTFD to the size you want sets .DS_Store which then would be deployed within the RTFD...assuming you can disable removal of .DS_Store files in your tool?

--
https://donmontalvo.com