Bug 29 - man page descriptions of /etc/ftpwelcome and /etc/ftpmotd
Summary: man page descriptions of /etc/ftpwelcome and /etc/ftpmotd
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Core Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1994-11-26 07:00 UTC by faried nawaz
Modified: 1994-11-26 07:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description faried nawaz 1994-11-26 07:00:02 UTC
The man page says (near/at line 58)

"If the file /etc/motd exists, ftpd prints it after a successful login."

should say

"If the file ~ftp/etc/ftpmotd exists, ftpd prints it after a successful login."

           --------------------------------
Also (near/at line 167):

"The file motd, if present, will be printed after a successful login"

should say

"The file ftpmotd, if present, will be printed after a successful login"

           --------------------------------
 Under the 'FILES' section:

 "/etc/motd   Welcome notice after login."

 should say

 "~ftp/etc/motd   Welcome notice after login."

Fix: 

is this a proper way to fix?  just did a diff...

97c97
< .Pa /etc/motd
---
> .Pa ~ftp/etc/ftpmotd
254c254
< .Pa motd ,
---
> .Pa ftpmotd ,
270c270
< .It Pa /etc/motd
---
> .It Pa ~ftp/etc/ftpmotd
How-To-Repeat: 
man ftpd
Comment 1 gpalmer freebsd_committer freebsd_triage 1995-04-15 08:02:37 UTC
State Changed
From-To: open->closed

The man page has been corrected. The path should remain absolute (i.e. 
starts with a `/', as normal users should get it also, in which case it 
won't be in the chrooted ~ftp directory.