Custom Greeting for Different Virtual Partitions

The first encounter users have with CDE on the vPars system is the login screen. Let's customize the login screen so that it shows the hostname, which is probably already configured on your CDE login screen, as well as the vPar name as part of the greeting. If your hostname and vPar name are the same, you don't need to supply the vPar name on the login screen. This is an interesting customization to CDE so I'll provide the login screen changes as an example customization.

The default information for the login screen is contained in /usr/dt/config/C/Xresources. We'll copy this file to /etc/dt/config/C/Xresrouces and then add the vPar name to the file. The portion of the file that includes the

Get HP-UX 11i System Administration Handbook and Toolkit, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.