- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Login banner / "message of day" --> how to set?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
02-24-2002 04:41 PM
02-24-2002 04:41 PM
Thanks!!
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2002 04:47 PM
02-24-2002 04:47 PM
Re: Login banner / "message of day" --> how to set?
write what u want show in it.
echo "......."
PS:if the user shell is sh,add it to profile
if the user shell is csh,add it to csh.login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2002 04:54 PM
02-24-2002 04:54 PM
Re: Login banner / "message of day" --> how to set?
You can add it in either into /etc/issue or /etc/motd.
/etc/issue is referenced by getty. /etc/motd is referenced from /etc/profile.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2002 05:31 PM
02-24-2002 05:31 PM
SolutionNote: /etc/issue should be explicitly added to the startup of telnetd and rlogind. Otherwise you'll get an unsecure default message:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/issue
/etc/motd does not exist by default and both /etc/profile and /etc/csh.login will display this file when it exists. This is the usual message location for each user to see after they login.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2002 05:40 PM
02-24-2002 05:40 PM
Re: Login banner / "message of day" --> how to set?
-Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2002 11:55 PM
02-24-2002 11:55 PM
Re: Login banner / "message of day" --> how to set?
If you want Xwindows to display customised messages while users get into you box,
you can use the command "dthello"
Normally this is used to display copyright message display.
You can edit the file "/usr/dt/bin/Xsession" and look for the line
"dtstart_hello_inof[0]="$DT_BINPATH/dthello -file $INFO_PATH -file /etc/copyright &"
As this line tells the script to display the content of /etc/copyright file it displays it while on booting.
If you want to display the content of some other file you can edit this line accordingly.
Make sure you give reed permission to all for the new file you specify.
-Vijay