HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Gui login banner
Operating System - HP-UX
1832282
Members
1832
Online
110041
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 10:32 AM
12-27-2007 10:32 AM
Gui login banner
For security reasons we need to add authorization banners to all servers.
SSH is easy, but how/where do you set it for GUI login?
SSH is easy, but how/where do you set it for GUI login?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 10:56 AM
12-27-2007 10:56 AM
Re: Gui login banner
I'm going to assume that you mean the CDE environment when you say GUI login. If that's true, you would want to change the greeting string in /usr/dt/config/C/Xresources. You might also want to change /etc/issue.
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 11:00 AM
12-27-2007 11:00 AM
Re: Gui login banner
Hi,
Have a look at this doc for more info.
http://docs.hp.com/en/B1171-90162/ch01s06.html
CDE - To Change the Welcome Message
Regards,
Robert-Jan
Have a look at this doc for more info.
http://docs.hp.com/en/B1171-90162/ch01s06.html
CDE - To Change the Welcome Message
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 11:50 AM
12-27-2007 11:50 AM
Re: Gui login banner
Right from the CIS handbook.
#!/bin/sh
banner="Authorized users only."
for file in /usr/dt/config/*/Xresources; do
dir="$(dirname "$file" | sed 's|^/usr/|/etc/|')"
mkdir -p "$dir"
if [ ! -f "$dir/Xresources" ]; then
cp .p "$file" "$dir/Xresources"
fi
echo "Dtlogin*greeting.labelString: $banner" \
>> "$dir/Xresources"
echo "Dtlogin*greeting.persLabelString: $banner" \
>> "$dir/Xresources"
done
chown root:sys /etc/dt/config/*/Xresources
chmod 644 /etc/dt/config/*/Xresources
#!/bin/sh
banner="Authorized users only."
for file in /usr/dt/config/*/Xresources; do
dir="$(dirname "$file" | sed 's|^/usr/|/etc/|')"
mkdir -p "$dir"
if [ ! -f "$dir/Xresources" ]; then
cp .p "$file" "$dir/Xresources"
fi
echo "Dtlogin*greeting.labelString: $banner" \
>> "$dir/Xresources"
echo "Dtlogin*greeting.persLabelString: $banner" \
>> "$dir/Xresources"
done
chown root:sys /etc/dt/config/*/Xresources
chmod 644 /etc/dt/config/*/Xresources
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP