Shell Configuration with CFEngine

Marking Production Systems

CFEngine can apply system-wide shell configuration changes to the global /etc/profile and similar shell configuration files. Additional shell tips are available.

Marking Production Systems

Production systems should use visually different shell prompts than non-production systems. This will reduce accidents such as “well, I thought I was on the development system”. In addition to modifying /etc/motd to denote production systems, also update the shell prompt variables somehow, for example by prepending a (P) to the prompt.

If users frequently customize their shell environments, include documentation on modifying the prompt for the users, and make note of this in the baseline shell configuration files under the /etc/skel directory.