Commit Graph

667 Commits

Author SHA1 Message Date
christos 36e588a416 PR/4848: Kimmo Suominen: rpc_rusersd tries to open remote host as display
- change LOG_ERR to LOG_DEBUG because xdisplay access fails most
	  of the time.
	- only try the display code if the ut_host field has a :
1998-01-20 17:39:14 +00:00
perry 77fc921931 get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:37:34 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem 69c37cf0b7 fix indenting of a block 1998-01-08 03:30:49 +00:00
perry 2ec6474b31 RCSID Police. 1998-01-06 04:44:59 +00:00
cgd 10cc9f3b70 RCS Id police 1998-01-05 22:00:34 +00:00
lukem 1e03f65c0d clarify /etc/ftpwelcome is shown *before* login 1997-12-31 02:43:54 +00:00
lukem 53f6552a12 set $HOME to "/" for guest or chroot users, pw->pw_dir otherwise.
fixes expansion of `~/...' pathnames.
1997-12-28 04:28:17 +00:00
christos 04691c5e33 Overhaul:
- Use fgetln instead of fgets and keep track of line limits.
	- Use dynamically allocated buffers instead of fixed length ones.
	- Use err/warn
	- Don't re-scan strings needlessly.
	- Handle extensions properly for page names that contain more than
	  one period printing:
		resolv.conf (5) - resolver configuration file
	  instead of:
		resolv.conf (conf.5) - resolver configuration file

This fixes PR/4738: "Coredump in getNAME" as a side effect.

This program is a hack; it depends on the ``standard format'' of a man page
and can get easily confused. At least now it will not core-dump...
1997-12-22 20:02:33 +00:00
mikel 8e4d4f760b edit a bit, and bewail inability to handle compressed manpages 1997-12-04 06:41:42 +00:00
lukem 9f8ad690b4 use 300 seconds (as per login(1)) for initial timeout, rather than 900 secs 1997-11-28 23:42:36 +00:00
lukem 0e2d417ded * initialise curclass.timeout to 900 in main(), so that operations that
want to timeout using this value that are executed before the conf file
  is parsed will work. fixes ``stale ftpd stuck in connection phase''
* in PASV mode, wrap accept() in an alarm timeout. fixes ``stale ftpd because
  of client disappearing in pasv mode (usually browsers)''
* main() doesn't need envp argument
1997-11-28 23:32:30 +00:00
thorpej 8cbf1ce96f Const'ify some things, rename local puts() to xputs(), since it has
a different prototype than the one in <stdio.h>
1997-11-18 21:29:11 +00:00
mrg 02e8f7539b oops! dont clobber the list after building it. (pr#4528 John.P.Darrow@wheaton.edu) 1997-11-18 07:17:09 +00:00
lukem b181ccb476 log debug stuff using LOG_DEBUG not LOG_INFO 1997-11-16 12:04:21 +00:00
msaitoh 39c2acb633 fix typo 1997-11-15 21:01:36 +00:00
pk f58457ccca Expand on shared object's `.init' functions a bit, and mention
`/usr/lib/c++rt.o'.
1997-11-13 22:25:23 +00:00
lukem 83955f6abd * change checkportcmd syntax to `checkportcmd class [off]' (as per `modify')
* display current setting of checkportcmd in STAT
* ensure that curclass.checkportcmd is initialised to 0
* document default setting of checkportcmd in ftpd(8)
* cleanup code a bit, putting code for "checkportcmd" in alphabetical order
1997-11-11 12:42:24 +00:00
mrg c8fbce69fd increment version. 1997-11-11 06:32:17 +00:00
mrg 6666673d8e oops, missed this bit in previous change. 1997-11-11 06:17:22 +00:00
mrg 8e2c08b183 add a "checkportcmd <class>" option that stops ftp bounce attacks. 1997-11-11 05:48:03 +00:00
lukem 52e679a138 fix so syslog works after chroot, by adding LOG_NDELAY to openlog.
from Andreas Wrede <andreas@planix.com>, [bin/4429]
1997-11-06 00:08:02 +00:00
lukem dea85dc703 * remove duplicate inode entries, so files with multiple hard links are
only parsed once; results in a 33% speedup on a p5-200
* order SEE ALSO by section
1997-11-02 14:01:54 +00:00
lukem 7c059b1253 use $TMP and $LIST everywhere, remove $LIST upon successful exit 1997-11-02 01:26:10 +00:00
lukem b0b8aac67b * use (``foo'') instead of (<em>foo</em>)
* order SEE ALSO on man section then alphabetical
* add -w to usage string
* deprecate register
* minor code move in newman section, to follow style of oldman section
1997-11-02 00:23:36 +00:00
mrg 3f5509a860 use the updated getNAME(8) now that it has a reasonable output. this
makes makewhatis several orders of magnitude faster for manual sources,
as we now avoid a costly `nroff -mandoc' for each one...
1997-11-01 15:06:09 +00:00
mrg ef53ad130b add a manual for getNAME. also, change the `default' output to be in
a form much more useful for an apropos(1) database.  this will be used
by makewhatis(1) to generate the whatis.db file's now...
1997-11-01 15:03:51 +00:00
lukem da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
cjs 3dd557ba9c Link with the stuff we compiled, rather that whatever random stuff happens
to be installed on the system we're compiling on.
1997-10-25 06:18:27 +00:00
jonathan faca0ea24c Install our ELF-aware link.h into /usr/include on mips hosts. 1997-10-23 19:27:28 +00:00
lukem e8cebc9784 use CPPFLAGS instead of CFLAGS 1997-10-22 05:55:52 +00:00
lukem dc3678728d use CPPFLAGS instead of CFLAGS 1997-10-22 05:45:08 +00:00
lukem 10d5d0d9ce use CPPFLAGS instead of CFLAGS 1997-10-22 05:26:25 +00:00
enami a7e4466d71 - Fix .Nm usage.
- Remove unnecessary white space at the beginning or end of line
1997-10-20 02:57:18 +00:00
enami e50ac59ba3 Fix .Nm usage. 1997-10-20 02:53:32 +00:00
enami 6977f8a8d4 Fix .Nm usage. 1997-10-20 02:51:47 +00:00
enami 4de830012c Fix .Nm usage. 1997-10-20 02:49:31 +00:00
enami c44131f35b Fix .Nm usage. 1997-10-20 02:46:44 +00:00
enami 966d406a9b Fix .Nm usage. 1997-10-20 02:42:46 +00:00
enami acb5c4ac49 - Fix .Nm usage.
- Use .Ar to refer an argument.
1997-10-20 02:41:18 +00:00
lukem 3c17756202 build objdir for manpage. from Dave Huang <khym@bga.com> in [bin/4294] 1997-10-20 02:39:50 +00:00
enami f5d3fbbc6f Fix .Nm usage. 1997-10-20 02:38:33 +00:00
enami 4bdefdde9f Fix .Nm usage. 1997-10-20 02:36:06 +00:00
enami f01968e9e9 - Fix .Nm usage.
- Refer finger by .Xr instead of .Nm.
1997-10-20 02:30:36 +00:00
enami abc05455ed Fix .Nm usage. 1997-10-20 02:27:53 +00:00
enami 0fad87214f - Fix .Nm usage.
- Sort SEE ALSO list first by section.
1997-10-20 02:26:44 +00:00
enami 27ffa06956 Fix .Nm usage. 1997-10-20 02:19:24 +00:00
enami ea62d80033 .Nm telnetd. -> .Nm telnetd . 1997-10-20 02:14:56 +00:00
enami 71d6ede458 No need to declare optind and optarg. 1997-10-20 02:12:17 +00:00
enami 31fb50310e Fix usage of .Nm. 1997-10-20 02:10:22 +00:00
enami 89fcd44a31 - No need to declare optind and optarg.
- Instead of to declare errno, include <sys/errno.h>.
1997-10-20 02:08:30 +00:00
enami 7eda8e3153 Fix usage of .Nm. 1997-10-20 02:05:33 +00:00
enami 80b4fe5249 No need to decalre optind. 1997-10-20 02:04:03 +00:00
enami f4c54f2517 No need to declare optind. 1997-10-20 02:00:36 +00:00
cjs fd97c4a995 Add uugetty capability. 1997-10-19 23:46:07 +00:00
mycroft b247da14fe Use S_IS*(), not S_IF*. 1997-10-19 18:17:27 +00:00
mycroft 1336137028 Use remove(3) rather than stat(2)ing the file, yadda yadda.
Simpler, and DTRT for symlinks.
1997-10-19 18:16:19 +00:00
mycroft 3ff72472fe Use S_IS*(), not S_IF*. 1997-10-19 18:15:23 +00:00
mark 919c9148f3 Add support for PIC code.
Add support for ld.so
1997-10-17 21:25:42 +00:00
hubertf c9bf407da0 Add makewhatis.8.
Closes PR 1809 by Robert Dobbs <banshee@gabriella.resort.com>
1997-10-17 20:37:59 +00:00
mikel b006e71442 startslave() prototype is independent of AUTHENTICATION 1997-10-16 06:59:09 +00:00
mikel 2bb7a441c1 kill old-style declaration of strchr()
add back variable needed for -DAUTHENTICATION
1997-10-16 06:55:38 +00:00
mikel 0b47cd38cf don't include <sys/cdefs.h> twice, kill old-style getpty() declaration 1997-10-16 06:52:52 +00:00
mikel 61d5a37185 add commented CFLAGS for AUTHENTICATION, remove list of crypto files 1997-10-16 06:49:11 +00:00
mikel 60f096100c kill old-style getenv() declaration 1997-10-16 06:46:50 +00:00
mikel fa8a687958 kill some excess whitespace 1997-10-16 06:45:45 +00:00
christos 776130f509 Handle relocation of misaligned symbols. Handle all three cases by the same
macro for clarity.
1997-10-14 17:17:52 +00:00
lukem 2ce4ef15e6 use <termcap.h> 1997-10-14 01:14:20 +00:00
lukem e8b9c15144 rcsid fascism 1997-10-13 09:28:10 +00:00
mycroft 30c6e0cebf SRCS must be defined *before* bsd.prog.mk is included... 1997-10-12 14:06:21 +00:00
mycroft 307211b0f5 Add some krb5 hooks, though it probably doesn't work yet. 1997-10-12 14:04:36 +00:00
mycroft 76a39e6e7c Actually, do Kerberos first, since we want to get a TGT if possible.
Also, clean up some minor cruft.
1997-10-12 13:52:51 +00:00
mycroft 4bf23f1a50 Format police.
Also, try s/key before Kerberos.
1997-10-12 13:18:56 +00:00
mycroft 085fe346f1 Oops; fix typo. 1997-10-12 13:09:11 +00:00
mycroft 5566d4c1f1 Conditionalize s/key support. 1997-10-12 13:08:41 +00:00
mrg 89b6eee876 merge lite-2 rcsids 1997-10-08 09:12:46 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
mrg 896c1cce87 WARNS?=1 1997-10-08 08:55:35 +00:00
mrg ee62445dbf WARNS?=1. RCS ids. 1997-10-08 08:45:07 +00:00
mrg 0cb14e7641 fix warnings on the alpha. 1997-10-08 07:24:51 +00:00
mrg 7796977716 WARNS?=1. RCS ids. 1997-10-08 07:07:40 +00:00
enami f002de2f5a Put a whitespace after the keyword `switch'. 1997-10-08 01:09:02 +00:00
enami 7c92c8b774 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:04:31 +00:00
enami cd2bc25e31 Put a whitespace after the keyword `switch'. 1997-10-08 01:03:00 +00:00
enami 34bbb35be5 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:02:00 +00:00
enami 782a241926 Put a whitespace after the keyword `switch'. 1997-10-08 01:00:41 +00:00
enami 42eb13e478 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 00:56:46 +00:00
mrg ad681f7eae WARNS?=1. RCS ids. 1997-10-07 13:44:03 +00:00
mrg 3d8d628a25 WARNS?=1. RCS ids. 1997-10-07 13:39:56 +00:00
mrg cd359aa2a0 fix warnings on alpha. 1997-10-07 13:13:41 +00:00
mrg 08a6736e8b WARNS?=1. RCS ids. did not merge very much of lite-2. 1997-10-07 13:07:44 +00:00
mrg a5a68ff5f2 WARNS?=1. RCS ids. 1997-10-07 11:28:16 +00:00
mrg 59093d44d1 WARNS?=1. RCS ids. cleanup a little. 1997-10-07 11:15:16 +00:00
mrg 51564e1ed5 WARNS?=1 1997-10-07 11:08:51 +00:00
mrg 16e14cfd8d WARNS?=1. RCS ids 1997-10-07 10:57:08 +00:00
mrg 78a8e977dc WARNS?=1. 1997-10-07 10:49:16 +00:00
mrg 04766f1d6e WARNS?=1. RCS ids 1997-10-07 10:43:53 +00:00
mrg f37be23211 WARNS?=1 1997-10-07 10:37:30 +00:00
mrg e84cc39ec8 merge lite-2. 1997-10-07 10:29:01 +00:00
mrg da5c78b3aa merge lite-2. WARNS?=1. 1997-10-07 10:11:29 +00:00