Philippe Charnier
6ee8ae607a
Use err(3). Add usage(). Rewrote man pages in mdoc format.
1997-09-30 06:15:23 +00:00
Brian Somers
8bfa2d0ed9
If "set mtu" is used, *and* the mtu is less than the
...
value requested by the peer, NAK using this value
rather than silently just changing the interface
mtu.
1997-09-29 19:40:16 +00:00
Wolfram Schneider
bf5cbf3551
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
John Polstra
7a6b5d25b7
Correct the description of the output from the "-s" option. It was
...
backward.
1997-09-29 17:43:11 +00:00
Wolfram Schneider
2af22b06a4
Endless loop.
...
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
1997-09-29 13:13:51 +00:00
Philippe Charnier
cd94e9c368
Use err(3).
1997-09-29 06:38:49 +00:00
Jordan K. Hubbard
26a695079e
Add ftp4.uk.freebsd.org
1997-09-29 00:15:07 +00:00
Brian Somers
4e556546a8
Test for the existence of ../../secure rather
...
than /usr/include/des.h before building with MSChap.
support. Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
1997-09-28 20:17:59 +00:00
Mark Murray
14710273ac
Add (commented out) macros to make compiling with tcpwrappers easier.
1997-09-28 09:31:43 +00:00
Brian Somers
fde958c3d3
Don't depend on time.h including sys/types.h
1997-09-27 19:41:40 +00:00
Brian Somers
f0d4fed251
Don't login twice when using passwdauth
...
Suggested by: Peter Childs <pjchilds@imforei.apana.org.au>
Merge the whole module into a few lines in pap.c
1997-09-27 19:11:43 +00:00
Tim Vanderhoek
a04aa72155
Document pkg_add's dependency auto-install. While I'm here, fix
...
a couple typos, and consistent double-spacing after sentences.
This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.
Ack'd by: jkh
1997-09-27 13:41:35 +00:00
Brian Somers
252715a39c
#define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)
...
Pointed out by: tom@tomqnx.com (Tom Torrance at home)
1997-09-26 00:23:36 +00:00
Philippe Charnier
ec175ced96
Use err(3). Add missing parameter for printf() (reviewed by steve).
1997-09-25 06:47:33 +00:00
Philippe Charnier
07e1d533fd
Remove unused variables. Lowercase err() strings.
1997-09-25 06:44:39 +00:00
Philippe Charnier
997485f93c
Put includes in alphabetical order. Use fprintf() in usage().
1997-09-25 06:42:30 +00:00
Philippe Charnier
f9b1ba8f7f
Stylistic changes in man page.
1997-09-25 06:38:17 +00:00
Philippe Charnier
fe577fe939
Use err(3).
1997-09-25 06:36:29 +00:00
Brian Somers
0f8e0938a0
Do the MSChap encryption.
...
Submitted by: Gabor Kincses <gabor@acm.org>
1997-09-25 00:58:20 +00:00
Brian Somers
7351f9d8e8
Allow Microsoft CHAP authentication.
...
This is a combination of MD4 & DES.
Submitted by: Gabor Kincses <gabor@acm.org>
1997-09-25 00:52:37 +00:00
Philippe Charnier
9b3fe531b5
Use err(3). Add usage(). Various fixes in man pages.
1997-09-24 06:48:24 +00:00
Philippe Charnier
e2954565f3
Statisize usage(). Add return(0) for -wall.
1997-09-24 06:44:12 +00:00
Andrey A. Chernov
c997889e4b
Compact usage string, devices list can be too long
1997-09-23 23:24:13 +00:00
Brian Somers
c06022153e
Don't luse uu_lock in -direct mode. It conflicts w/
...
hylafax & the like.
Get the CD bit right at last - now that I've got
my second modem back - loss of carrier makes ppp exit.
1997-09-23 22:07:51 +00:00
Brian Somers
3f1125194b
Undo botched commit (local changes got in)
1997-09-23 19:52:14 +00:00
Nate Williams
a12f9b749f
- Bump up the size of the space for strings read from PCMCIA cards. Newer
...
cards have longer entries.
Submitted by: Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
1997-09-23 19:51:32 +00:00
Philippe Charnier
fa6990870e
Use err(3). Add usage() and prototypes.
1997-09-23 06:38:54 +00:00
Philippe Charnier
ecdf56e7d9
Use err(3). Put includes in alphabetical order.
...
Rewrote man page in mdoc format.
Document -v and -p flags.
1997-09-23 06:36:27 +00:00
Philippe Charnier
330f19d310
Use err(3). Make it -Wall friendly. Typo fix in man page.
1997-09-23 06:32:33 +00:00
Brian Somers
301127fb0a
Don't allow accept/deny when it's not appropriate.
...
Log PAP/CHAP users in utmp & wtmp, allowing it to
be avoided with "disable utmp"
1997-09-22 23:59:16 +00:00
Masafumi Max NAKANE
1a17a85ecb
Typo fix.
...
PR: 4594
Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
Jordan K. Hubbard
3887aa4e23
If we're going to blindly install freebsd.cf from the etc-sendmail.cf
...
rule then we'd better depend on it.
1997-09-22 07:33:14 +00:00
Philippe Charnier
71b906885d
Use err(3). Put includes in alphabetical order. Use .An macro.
1997-09-22 06:30:04 +00:00
Brian Somers
586526be29
Don't pause for one second before starting LCP
...
negotiation. Instead, incrementally pause after
receiving LCPs with the same magic. We can now
suffer a server that waits more than 1 second before
responding. Pauses greater than a second get
hopelessly confusing as when the server eventually
starts, it sees a flood of Config Requests followed
by config NAKs and changes of magic. This causes the
server to change its magic over and over.....
1997-09-22 02:51:24 +00:00
Brian Somers
3defb7fc30
Use the correct device name in "show modem"
1997-09-22 00:55:46 +00:00
Brian Somers
35495bec8d
Correct the way the uucp lock file and the ttyXX.if lock
...
file get created. We don't create lock files over non-tty
connections, but we *do* create lock files in -direct mode.
This leaves us capable of adding utmp/wtmp support for
successful pap & chap logins (coming soon).
1997-09-22 00:46:56 +00:00
Brian Somers
94cad8bcb1
Sleep for a second before sending the first LCP
...
config request. This stops us from squirting stuff
down a line that still has ECHO turned on because the
peer hasn't had a chance to start yet.
Lead to the cause by: Greg Lehey <grog@lemis.com>
1997-09-21 23:01:34 +00:00
Justin T. Gibbs
93384faa4c
Add isa_devtab_cam.
1997-09-21 22:12:50 +00:00
Brian Somers
c47cab6191
It turns out that the following:
...
close(1);
close(2);
x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
close(0)
on a tty causes select() to return an exception for descriptor x !
This is the case in RELENG_2_2, but not in 2.2.2. I'm not sure why.
Instead of doing the x=open() and close(0), we just do x=0 now.
Problem pointed out by: Greg Lehey <grog@lemis.com>
Tomi Vainio <tomppa@fidata.fi>
1997-09-21 20:26:47 +00:00
Brian Somers
705c7a18f9
Typo police
...
Submitted by: Mark Cammidge <mark@gmtunx.ee.uct.ac.za>
1997-09-21 13:08:00 +00:00
Brian Somers
599864f851
Add a pppctl(8) xref.
...
Suggested by: joerg
1997-09-21 13:06:43 +00:00
Wolfram Schneider
f2b7396852
Add ypwhich(1) and yppoll(8) manual pages.
...
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
Wolfram Schneider
d95fc683ed
Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does
...
first check for a `.' and then for `:' as a delimiter.
Usernames with a dot will fail.
# chown r.r:bin /tmp/bla
chown: r:bin: illegal group name
Fix: first check for a `:' and then for a `.'
1997-09-21 09:13:57 +00:00
Wolfram Schneider
142123c17e
Do not complain about non existing shell "/nonexistent"
...
Smarter error check if a uid is already in use.
Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
1997-09-20 19:59:54 +00:00
Wolfram Schneider
163f94979e
Do not accept empty user names.
1997-09-20 18:26:22 +00:00
Jordan K. Hubbard
87b462a276
More label editor enhancements.
...
Submitted by: Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-20 06:24:17 +00:00
Warner Losh
c02d44b411
Add missing \ from previous rev to end of a line.
1997-09-20 04:58:08 +00:00
Jordan K. Hubbard
c3a6bc8315
Fix conditional bogon in Label Editor [from Ed Gold]
...
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
Brian Somers
173471e627
Use snprintf() instead of sprintf() most of the time.
...
Obtained from: OpenBSD
Make usage() consistent with man page.
1997-09-19 22:22:04 +00:00
Masafumi Max NAKANE
7e04a60da7
Typo.
1997-09-19 16:04:19 +00:00