Changing the Login banner on a Celerra / VNX File control station

If you have a security requirement to change the login screen on operating systems that are accessible via a terminal session, it’s a farily easy change on a Celerra or VNX File control station due to the DART OS being based on Linux.  Simply log in as root and edit the /etc/issue file with vi.  It contains the login banner that you see immediately after logging in to a control station.

This is what the default /etc/issue file contains on a VNX control station, and what you’ll see by default when you log in:

A customized version of the Linux operating system is used on the
EMC(R) VNX(TM) Control Station.  The operating system is
copyrighted and licensed pursuant to the GNU General Public License
(“GPL”), a copy of which can be found in the accompanying
documentation.  Please read the GPL carefully, because by using the
Linux operating system on the EMC VNX you agree to the terms
and conditions listed therein.
 
EXCEPT FOR ANY WARRANTIES WHICH MAY BE PROVIDED UNDER THE TERMS AND
CONDITIONS OF THE APPLICABLE WRITTEN AGREEMENTS BETWEEN YOU AND EMC,
THE SOFTWARE PROGRAMS ARE PROVIDED AND LICENSED “AS IS” WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.  In no event will EMC Corporation be liable to
you or any other person or entity for (a) incidental, indirect,
special, exemplary or consequential damages or (b) any damages
whatsoever resulting from the loss of use, data or profits,
arising out of or in connection with the agreements between you
and EMC, the GPL, or your use of this software, even if advised
of the possibility of such damages.
 
EMC, VNX, Celerra, and CLARiiON are registered trademarks or trademarks of
EMC Corporation in the United States and/or other countries. All
other trademarks used herein are the property of their respective
owners.
 
EMC VNX Control Station Linux release 3.0 (NAS 7.1.71)
 

I don’t work for IBM, but below is an example of what you could change the /etc/issue file to.  I included the hostname of the control station, our company logo, and a legal warning regarding unathorized logins and system monitoring.  Because the standard login banner from EMC includes the DART OS Version on the last line, I suspect that the /etc/issue file is updated along with any OS upgrades or patches, although I can’t confirm that right now.  I’m keeping a backup copy in the same directory to easily change it back after a DART upgrade.

You can also edit the /etc/motd file, which displays immediately after a successful login.  By default the file contains the message “EMC Celerra Control Station Linux” or “EMC VNX Control Station Linux”, along with what I assume to be the date of the original OS installation.

[sourcecode language=”css”]
—————————————————————
EMC VNX Control Station <Host_Name>
—————————————————————
IIIIIIIIIIIIIIIIIII  BBBBBBBBBBBBBBBBB    MMMMMMM     MMMMMMM
IIIIIIIIIIIIIIIIIII  BBBBBBBBBBBBBBBBBB   MMMMMMMM   MMMMMMMM
IIII         BBBB           BBBB  MMMM MMMM MMMM MMMM
IIII          BBBB           BBBB  MMMM MMMM MMMM MMMM
IIII          BBBBBBBBBBBBBBBBB    MMMM  MMMMMMM  MMMM
IIII          BBBBBBBBBBBBBBBBB    MMMM   MMMMM   MMMM
IIII          BBBB           BBBB  MMMM    MMM    MMMM
IIII          BBBB           BBBB  MMMM     M     MMMM
IIIIIIIIIIIIIIIIIII  BBBBBBBBBBBBBBBBBB   MMMM           MMMM
IIIIIIIIIIIIIIIIIII  BBBBBBBBBBBBBBBBB    MMMM           MMMM
—————————————————————
Warning: This system is restricted to IBM authorized users for
business purposes only. Unauthorized access or use is
a violation of of company policy and the law.
—————————————————————
This system may be monitored for administrative and security
reasons. By logging in, you agree that you have read and
understand this notice.
—————————————————————
nasadmin@<Host_Name>’s password:
[/sourcecode]

Advertisements

Leave a Reply