HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- warning banner for ftp and ssh
Operating System - HP-UX
1826388
Members
4590
Online
109692
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
Go to solution
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
01-31-2002 06:04 AM
01-31-2002 06:04 AM
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 06:18 AM
01-31-2002 06:18 AM
Re: warning banner for ftp and ssh
Hi,
for ftp you can put a .message file in each directory that should display a message.
For ssh /etc/issue should work
Volker
for ftp you can put a .message file in each directory that should display a message.
For ssh /etc/issue should work
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 06:20 AM
01-31-2002 06:20 AM
Solution
Hi Jeff,
To display a custom ftp banner, i think you should have the ftpaccess configured. Modify the following line in the /etc/ftpd/ftpaccess file:
Change: message /welcome.msg login
To: message /welcome.msg [path where message is located]
Here is how you can configure ftpaccess on your system,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=504e341c06c2add525/screen=ckiDisplayDocument?docId=200000055935266
Hope this helps.
Regds
To display a custom ftp banner, i think you should have the ftpaccess configured. Modify the following line in the /etc/ftpd/ftpaccess file:
Change: message /welcome.msg login
To: message /welcome.msg [path where message is located]
Here is how you can configure ftpaccess on your system,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=504e341c06c2add525/screen=ckiDisplayDocument?docId=200000055935266
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 06:28 AM
01-31-2002 06:28 AM
Re: warning banner for ftp and ssh
Well on my FTP server I use the /etc/ftpd/ftpaccess file and added the following:
banner /etc/issue
banner /etc/motd
The issue file tells them they hit the FTP Server...And the motd prints up what the rules for using it are....
I have another line..
message /home/message
This get triggered if they try to do something they shouldn't and it's a stronger 'no-no' message.
Just remember to activate using the ftpaccess file in your /etc/inetd.conf by putting a ( -a ) at the end of the ftp line..
Just one way of many ways to do ftp..
Rit
banner /etc/issue
banner /etc/motd
The issue file tells them they hit the FTP Server...And the motd prints up what the rules for using it are....
I have another line..
message /home/message
This get triggered if they try to do something they shouldn't and it's a stronger 'no-no' message.
Just remember to activate using the ftpaccess file in your /etc/inetd.conf by putting a ( -a ) at the end of the ftp line..
Just one way of many ways to do ftp..
Rit
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP