The login.hook, logout.hook, and radmind.hook scripts are installed in /private/etc/hooks by the Radmind Assistant when it sets up a managed client.
The Filesystem Hierarchy Standard has this to state about /etc:
“The /etc hierarchy contains configuration files. A ’configuration file’ is a local file used to control the operation of a program; it must be static and cannot be an executable binary.”
These files, as executable scripts, should probably move to another location — perhaps into /usr/local/sbin — to adhere to what appears to be the spirit of this standard.
Log in to post a comment.