- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP system message of the day (MOTD)
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
Discussions
Forums
Forums
Discussions
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
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-27-2003 02:42 PM
тАО02-27-2003 02:42 PM
FTP system message of the day (MOTD)
Could you kindly share your experience with me?
We need to configure the FTP server so that all users see a standard system message.
How can HPUX Message of the day ( MOTD ) functionality be set for all FTP users?
We are using HPUX v10.20's built in FTP server.
Any clues, suggestions, tips or advise are greatly appreciated. Please advise.
I look forward to hearing from you. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 02:52 PM
тАО02-27-2003 02:52 PM
Re: FTP system message of the day (MOTD)
Any modification of that file requries another "inetd -c" command to reread the config files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 03:03 PM
тАО02-27-2003 03:03 PM
Re: FTP system message of the day (MOTD)
Here is part of the man page.
Informational Capabilities
greeting { full|brief|terse }
greeting text message
message path [ when [ class... ]]
Define a file with path such that ftpd will display the contents
of the file to the user at login time or upon using the change
working directory command. The when parameter may be LOGIN or
CWD=dir. If when is CWD=dir, dir specifies the new default
directory which will trigger the notification.
The optional class specification allows the message to be
displayed only to members of a particular class. More than one
class may be specified.
In the message file, the user can key in a message and use the
`macros' or `magic cookies' that are available. The ftp server
will replace the cookie with a specified text string. The
following magic cookies are available:
%T local time (form Thu Nov 15 17:12:42 1990)
%C current working directory
SEP
Might be fun to play with this...
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 03:07 PM
тАО02-27-2003 03:07 PM
Re: FTP system message of the day (MOTD)
banner: Example: banner /etc/ftpd/banner_msg
Description: This displays a banner to the client prior to the name prompt.
message: Example:
message /home/ftp/etc/message_msg login
Description:
The contents of the message file are displayed to the client after successful login. You may note that I placed this message file in a
different directory. The message file must be placed in a directory that grants the client execute access. The permissions on the /etc/ftpd
directory do not allow the client (other) execute access. However, the /home/ftp/etc directory does, so I placed the message file here. The
sample ftpaccess file uses the /etc/msgs directory, this directory is not automatically created. The banner file can be placed in the /etc/ftpd
directory since it is the FTP daemon that is reading this file, not the client (they have yet to login). The minimum file permissions on the message file are 444.
or http://newfdawg.com/SHP-FTP-ftpaccess.htm for the whole article.
- Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 08:01 PM
тАО02-27-2003 08:01 PM
Re: FTP system message of the day (MOTD)
Enter the message you want to appear when user logs.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 08:11 PM
тАО02-27-2003 08:11 PM
Re: FTP system message of the day (MOTD)
hth
-balaji