Commit Graph

9535 Commits

Author SHA1 Message Date
Atsushi Murai
c3899f8d3c 1. Do not log the password itself to ppp.log ( Mr. Rich Murphey )
2. Add ability to execute shell commands and suspend back into
   invoking shell (Mr. J Wunsch)

Reviewed by:	amurai@spec.co.jp
Submitted by:	joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
		Rich Murphey <rich@lamprey.utmb.edu>
1995-09-02 17:20:54 +00:00
Andreas Schulz
3c09ce5dca Correct a typo. 1995-09-02 11:09:03 +00:00
Julian Elischer
ffb10de317 Submitted by: Julian
changes to make it compile again
1995-09-02 07:09:01 +00:00
Bill Paul
a755ea5b3f Update this man page to reflect reality with respect to NIS and
document the proper way to set up NIS overrides in the password database.
1995-09-02 04:25:24 +00:00
Bill Paul
0c31984940 Update this man page to reflect reality. 1995-09-02 04:20:01 +00:00
Bill Paul
4cc738f763 Clear up a minor bogosity in yp_match(): we have YPMATCHCACHE turned
on, which is fine, except that _yp_dobind() is called before we check
the cache. The means we can return from the cache check (if we have
a hit) without calling _yp_unbind().

We should do the cache check first and _then_ drop into the section
that binds the server and does the yp_match query.
1995-09-02 04:16:21 +00:00
Bill Paul
d454389cc2 getpwent.c: turn the code that checks the override caches into a
seperate function to avoid duplication. Also fix getpwent() a
small bit to properly handle the case where the magic NIS '+'
entry appears before the end of the password file.

getgrent.c: be a little more SunOS-ish. Make it look like the NIS
group map is 'inserted' at the the point(s) where the magic NIS '+'
entry/entries appear.

getgrent: fix a file descriptor leak: remember to close the netgroup
file after we determine that we're using NIS-only innetgr() lookups.
1995-09-02 04:08:55 +00:00
Bill Paul
b62f3dc428 Bug fix: use the use_yp() function in the chpass(1) code to determine
correctly whether a user is local or NIS (or both, or neither). If you
have a user that exists locally but not in NIS, passwd(1) could get
confused and try to submit the password change to NIS. (Fortunately,
yppasswdd is smart enough to spot the error and reject the change.)

Bug reported by: Charles Owens <owensc@enc.edu>
1995-09-02 04:02:28 +00:00
Bill Paul
9219423651 Make use_yp() smarter about figuring out whether a user is local or
NIS (or both, or neither). Also add support for -l and -y flags to
force behavior to local or NIS. use_yp() also goes out of its way to
retrieve the correct password database information (local or NIS)
depending on what the situation since getpwent() & co. can't
necessarily be trusted in some cases.

Also document new flags in man page.
1995-09-02 03:56:21 +00:00
Jordan K. Hubbard
d1a599c2de Something got spammed in my 2.2 work tree (don't know how :( ) and
had a 2.1 tag, thus sending these two changes into the 2.1 branch instead
of -current.  Argh.  I may bring these changes into the 2.1 anyway (they're
benign there) so I'm not going to admin them out of 2.1 for the time
being.
1995-09-01 20:53:44 +00:00
Jordan K. Hubbard
4fb1d90a95 Jim's attempt to fix the new sound code somewhat. Tested with
the pas-16, GUS, and GUS-MAX cards.  Sound blaster owners, please
test also!
Submitted by:	Jim Lowe <james>
1995-09-01 19:09:11 +00:00
Joerg Wunsch
4d14a29026 Check a pointer in skipdirs() before dereferencing it. I don't fully
understand why it can become a null pointer under some circumstances,
but i've got a pile of tapes where this happens, and running it thru a
debugger proved that simply ending the loop in this case did the right
thing.

Anyway, it cannot make it worse than now, where restore kills itself
with "Memory fault".
1995-09-01 18:09:20 +00:00
Joerg Wunsch
e3038c6ef5 Update to the slices era. Make /dev/rfoo0 the defaults, not
/dev/rfoo0d.

Scan a list of devices instead of insisting on all the world
being wd0.

Allow for disk names to be specified (e.g. `sd0') instead of full
path names only.

Sync the man page with the reality.
1995-09-01 18:00:14 +00:00
John Fieber
f024993b17 a) Fix some glitches that trip up LaTeX.
b) Put in names and email addresses of people who have claimed
   empty sections as their own.
c) Incorporated MIRROR.SITES as the first section in the appendix
   titled "Obtaining FreeBSD".  When adding, removing or otherwize
   twiddling with the mirror site info, do it in mirrors.sgml!
d) A couple other odds and ends.
e) NOTE: You must update your your /usr/bin/sgmlfmt and /usr/share/sgml
   to process this edition of the handbook!
1995-09-01 04:54:14 +00:00
Jordan K. Hubbard
49148d6390 Jim's latest fixes.
Submitted by:	james
1995-09-01 00:25:18 +00:00
Gary Palmer
38a98b2254 Correct minor nit - to filter out SYN packets, the keyword is
`syn' not `tcpsyn' (which matches `tcp' which blocks all tcp
packets)
1995-08-31 21:12:05 +00:00
Jordan K. Hubbard
6cef43a78b Well, it would appear that the "ayes" have it (though by a slim margin).
Apply my \c changes to echo.  It should also be noted that this is:
A) going into 2.2, not 2.1
B) a functional no-op unless you actually use it!
1995-08-31 17:25:55 +00:00
Garrett Wollman
f0be1274ca Update to latest version of named.root from the Internic. This version
is the first one to name all root servers X.root-servers.net rather
than by their original names.

Obtained from: Internic Registration Services
1995-08-31 16:33:01 +00:00
Garrett Wollman
a5d3a8f99b Add a few hooks (in the form of an array of four void *'s) to allow
various bits of software to save some data in the ifnet structure without
having to constantly change the declaration thereof.
1995-08-31 15:21:31 +00:00
Jordan K. Hubbard
c4fd50cb61 Tweak. 1995-08-31 15:17:02 +00:00
Jordan K. Hubbard
ac3334c708 Whoops, move - not delete! 1995-08-31 15:15:17 +00:00
Jordan K. Hubbard
4f7865767b Update contributors. 1995-08-31 15:12:20 +00:00
Jordan K. Hubbard
3b261895ff Update this file. 1995-08-31 15:08:39 +00:00
Bruce Evans
6dbc0269e2 Fix fatal function type mismatches in lkms. lkm init functions recently
gained a dummy argument for compatibility with sysinit functions, but
this arg wasn't passed for lkms outside the kernel.
1995-08-31 06:28:29 +00:00
John Dyson
5dce41c5a5 Increase the size of the pipe buffer as denoted by PIPSIZ from
4k to 8k.  This has a significant effect on the pipe performance.  In
the future it might be good to increase this to 16k.  PIPSIZ is now
tunable for experimentation.
1995-08-31 01:39:31 +00:00
John Fieber
d8c5d59031 Command line arguments are now gathered by NewGetOpt. Command line
syntax is slightly changed:  -format is now -f format.

New option: -i name
This is a switch to control marked sections in SGML documents.  Useful
for multi-lingual documents.
1995-08-31 00:14:02 +00:00
Andrey A. Chernov
b247e376cd Change my parse fix from 'return argc' to 'return 0'.
Pointed by: davidg
1995-08-30 17:59:59 +00:00
Andrey A. Chernov
0f895305a1 Fix error: while getting file name, backspace not works, but produce
^G instead. Proper interaction with ncurses require turn keypad
off/on there.
1995-08-30 17:42:28 +00:00
David Greenman
901dabe896 Brought forward the change in 1.57.4.1 - add build of zic(8) to tools rule.. 1995-08-30 17:27:57 +00:00
Doug Rabson
fac7bcd92c Make nfs diskless work again.
Reviewed by:	John Hay <jhay@mikom.csir.co.za>
1995-08-30 17:24:15 +00:00
Andrey A. Chernov
c6eb6d4f8f Fix 8bit chars output, not highlight all of them 1995-08-30 17:11:54 +00:00
Jordan K. Hubbard
892e037673 While posting something to -current about this, I got an idea for making
it a more ideal I18N candidate.  Here it is.
1995-08-30 13:25:55 +00:00
Jordan K. Hubbard
323b0c7f1f Add ee. 1995-08-30 09:52:07 +00:00
David Greenman
f3a06d3ee0 Corrected Marc Frajola's email address. 1995-08-30 09:51:38 +00:00
David Greenman
929bb32c22 Corrected Marc Frajola's email address. 1995-08-30 09:44:45 +00:00
Jordan K. Hubbard
6c29f08e5a This commit was generated by cvs2svn to compensate for changes in r10452,
which included commits to RCS files with non-trunk default branches.
1995-08-30 07:28:06 +00:00
Jordan K. Hubbard
6f80b46075 This is `ee' - the Easy Editor. I'm bringing it in to replace vi on
the installation floppy (and in any references in new user docs for
editing files) since tossing a novice into vi with no help or clue as
to what the key bindings are is both cruel and in violation of the
Hague Convention.  It's also much SMALLER than vi and even supports emacs
key bindings for those so inclined.
Submitted by: "Hugh F. Mahon" <hugh@nsmdserv.cnd.hp.com>
1995-08-30 07:28:06 +00:00
Bruce Evans
8d7459c596 Declare vfs_mountroot() in the right place. 1995-08-30 01:34:28 +00:00
Bruce Evans
44fc47d706 Fix several sysinit functions that had the wrong type and unnecessarily
external linkage.
1995-08-30 00:33:35 +00:00
Bruce Evans
b6f5c0b824 Fix several sysinit functions that had the wrong type and unnecessarily
external linkage.

Remove useless comments saying that SYSINIT() does system initialization.
1995-08-30 00:33:22 +00:00
Bruce Evans
088f73968c Fix several sysinit functions that had the wrong type and unnecessarily
external linkage.

Remove useless comments saying that SYSINIT() does system initialization.

shm.c:
Remove nearly useless comment that gave wrong pseudo-prototypes.
1995-08-30 00:33:02 +00:00
Bruce Evans
41a93c86d6 Fix benign type mismatch in a sysinit function arg. 1995-08-30 00:17:18 +00:00
Bruce Evans
9ef6c28ae2 Fix benign type mismatches and nested extern declarations in new sysinit
code.

Fix old and new missing prototypes.
1995-08-29 23:59:22 +00:00
Bruce Evans
154042d309 Remove relocation of Crtat. Drivers already relocate it (somewhat
bogusly).  We used to undo the driver relocation here before doing
a somewhat less bogus relocation.  The result was a null relocation
here.
1995-08-29 23:45:20 +00:00
Garrett Wollman
b52d94c100 Add support for printking Kerberos v4 packets (file I forgot to add)
Obtained from:	John Hawkinson <jhawk@mit.edu> by way of comp.protocols.kerberos
1995-08-29 19:50:18 +00:00
Garrett Wollman
8f548d4466 Add support for printing Kerberos v4 packets. 1995-08-29 19:48:11 +00:00
Garrett Wollman
f6d60042e7 Add official protocol and port numbers for RSVP. 1995-08-29 19:29:36 +00:00
Garrett Wollman
2b758395ea Fix long-standing bug in ICMPPRINTFS code where NTOHL was used instead
of ntohl for printing IP addresses, by instead substituting inet_ntoa()
to produce human-readable output.

Obtained from:	4.4-Lite-2
1995-08-29 17:49:04 +00:00
Jordan K. Hubbard
dbae4437e2 Address Bruce's mmap concerns in this driver too.
Submitted by:	Jim Lowe <james@miller.cs.uwm.edu>
1995-08-29 16:44:46 +00:00
Andrey A. Chernov
413c9ee9cd Reset LANG and LC_TIME env. variables to produce english date 1995-08-29 16:08:27 +00:00