Motd

From T2B Wiki
Revision as of 16:02, 1 December 2015 by ROMAIN ROUGNY rrougny@vub.ac.be (talk | contribs) (Created page with "* The several relevant files: ** in quattor, '''sites/.../config/motd.sh''' : script that is called each time you connect as non-root to an ui. ** on UIs, '''/user/motd_news''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • The several relevant files:
    • in quattor, sites/.../config/motd.sh : script that is called each time you connect as non-root to an ui.
    • on UIs, /user/motd_news: the portion to add Announcements.
    • in quattor, sites/.../config/motd.tpl : just does the copy of motd.sh in /etc/profile.d/ for relevant hosts.


  • The announcements is present only if NEWS is not set to "" in motd_news. The message is in purple by default ($PURP), and is automatically set back to $DEF at the end. Try to keep the message's lines about the same size as the rest.
To erase it, just put back :
NEWS=""