- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Welcoming users with friendly script
Operating System - HP-UX
1752569
Members
5046
Online
108788
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
Discussions
Discussions
Forums
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
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
тАО11-15-1999 09:44 PM
тАО11-15-1999 09:44 PM
Welcoming users with friendly script
Hi.
I want to present my users who logon via telnet with a friendly screen rather
than the /etc/issue file. How do I go about doing it.
I made an entry in the inetd.conf file in the /etc directory but it did not
work.
Any advice?.
Dave
I want to present my users who logon via telnet with a friendly screen rather
than the /etc/issue file. How do I go about doing it.
I made an entry in the inetd.conf file in the /etc directory but it did not
work.
Any advice?.
Dave
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-1999 10:09 PM
тАО11-15-1999 10:09 PM
Re: Welcoming users with friendly script
Hi Dave,
I don't know what you exactly want to do but first of all it's allowed to
change /etc/issue to your needs and second of all you could use /etc/motd also.
If you just want to display text, then you could change the files according. If
you want something more fancy then you will need to write a script and call it
somewhere during logon for instance in /etc/profile.
I don't know what you exactly want to do but first of all it's allowed to
change /etc/issue to your needs and second of all you could use /etc/motd also.
If you just want to display text, then you could change the files according. If
you want something more fancy then you will need to write a script and call it
somewhere during logon for instance in /etc/profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-1999 02:58 AM
тАО11-16-1999 02:58 AM
Re: Welcoming users with friendly script
Hi!
Simply edit file /etc/issue put text that you want or edit /etc/motd with the
text desired, or make a file with next content, or some like this.
clear
banner HI $LOGNAME
echo "========================================================"
echo
echo "You Are entering to server:" $(hostname)
echo
echo "Please comunicate any question about this system to Dave Walley"
echo "Phone 99999999 Ext 999"
echo
echo "========================================================"
echo
echo "Press Any key to continue \c"
read
then make it executable and put the name of this file en last line of
/etc/profile
Simply edit file /etc/issue put text that you want or edit /etc/motd with the
text desired, or make a file with next content, or some like this.
clear
banner HI $LOGNAME
echo "========================================================"
echo
echo "You Are entering to server:" $(hostname)
echo
echo "Please comunicate any question about this system to Dave Walley"
echo "Phone 99999999 Ext 999"
echo
echo "========================================================"
echo
echo "Press Any key to continue \c"
read
then make it executable and put the name of this file en last line of
/etc/profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-1999 11:33 AM
тАО11-16-1999 11:33 AM
Re: Welcoming users with friendly script
Don't forget that even if you edited /etc/inetd.conf and appended the
telnetd -b /etc/issue
to the telnet line you still have to issue a SIGHUP signal to inetd so that it
will reread /etc/inetd.conf and hence the new message file. The best way to do
this is to do a
inetd -c
The entire line should read something like this I think..
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/my_login_msg
On the other hand if you want a post-login message/screen try using
/etc/csh.login or /etc/profile to add customised scripts for users.
regards,
AG
telnetd -b /etc/issue
to the telnet line you still have to issue a SIGHUP signal to inetd so that it
will reread /etc/inetd.conf and hence the new message file. The best way to do
this is to do a
inetd -c
The entire line should read something like this I think..
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/my_login_msg
On the other hand if you want a post-login message/screen try using
/etc/csh.login or /etc/profile to add customised scripts for users.
regards,
AG
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP