Commit Graph

1841 Commits

Author SHA1 Message Date
wosch
aeac748e2f add pathnames.h, -Wall cleanup 1996-08-20 23:51:20 +00:00
jkh
b4c0b27579 Clean up the english a little, having made the mistake of reading it. 1996-08-20 21:27:18 +00:00
wosch
938f39425a run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
1996-08-20 19:57:23 +00:00
pst
076318a498 Fix up path 1996-08-20 05:44:01 +00:00
pst
71a339d4dd Grab tcpdump out of src/contrib/tcpdump 1996-08-19 21:57:10 +00:00
wosch
62a6bfaf7a New option: [-c]
Check if the password file is in the correct format. Do not
        change, add, or remove any files.
1996-08-19 16:03:15 +00:00
peter
48b09c187d Fix a bug, it was returning a pointer to a variable on the stack, instead
of the specially strdup()'ed version.
1996-08-19 14:28:48 +00:00
peter
2a946c4c77 Define ETHERS_SERVICE, since our OS provides it. Otherwise, you
can't do a "tcpdump 'gateway foo'" unless it's in /etc/ethers - it wasn't
reading the NIS tables.
1996-08-19 14:27:14 +00:00
wosch
331ef39e8f ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
peter
d489b09360 Fixes from NetBSD:
- inet_ntoa() returns a pointer to a static buffer, dont use it twice
   in the same printf().
 - prevent the possibility of never timing out
 - Report two more ICMP error types (prohibited nets etc)
And some (commented out) enhancements that I use, but some don't like.
1996-08-17 10:37:28 +00:00
wosch
6aac9eb9ee New options
-K      Run as command kbdmap(1).
    -V      Run as command vidfont(1).
    -p, -print
            Print description  of available keymaps or fonts to
            stdout and exit.

Document that users should not choose MSDOS codepage keymaps or fonts.
1996-08-16 13:26:44 +00:00
ache
fcee422588 Remove -p from SYNOPSIS 1996-08-16 12:34:47 +00:00
ache
4d78965cea Remove -p option from getopt string, all corresponding code
already deleted
1996-08-16 12:12:53 +00:00
peter
78010e9735 rpc.rstatd -> rpc.lockd typo
Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
1996-08-16 09:44:40 +00:00
wosch
93f624e1a5 Do not add an user to a group if the group is also the login group. 1996-08-14 19:06:04 +00:00
adam
021b988ec4 chown(8) and chgrp(1) directories once only 1996-08-14 18:13:58 +00:00
wosch
c36121cb27 Do not send "welcome mail" as default. If you want this feature
you can still enable it. Better, use mail client like elm or pine.

Requested by: Jordan
1996-08-13 21:50:51 +00:00
fenner
5353c9c285 Fix last commit (and PR bin/1489) by creating both sockets before
setuid().
1996-08-13 16:28:59 +00:00
peter
f7b4db0557 Fix a few minor type problems that turned up with gcc-2.7.2 1996-08-13 09:21:38 +00:00
peter
72e76de98b Add RTF_STATIC to default route's flags in the hope that routed will no
longer remove it while it is running.
1996-08-13 09:19:45 +00:00
peter
42c8685e61 Add RTF_STATIC to flags when creating a default route. Hopefully this
will stop routed from removing it if it is also running.
1996-08-13 09:16:49 +00:00
pst
db1a2c98a7 Previously, if the dial script had any problems, pppd would simply
bomb out.  Unfortunately, FreeBSD's sio driver and certain internal
modems don't get along very well, which can cause the serial port to
wedge until it is closed and reopened.

Add new variable, connect-max-attempts, default = 1 (to mimic previous
behavior).  If > 1, will try up to "n" times to dial remote site before
aborting.
1996-08-11 17:29:37 +00:00
julian
53ead71d81 Reviewed by: various
Submitted by:	archie@whistle.com

changes to allow inetd to bind to a single interface
for more complicated options see xinetd in ports.

Obtained from: whistle.com
1996-08-09 22:20:24 +00:00
adam
3c7c30f3ef was missing @ 1996-08-09 17:55:18 +00:00
fenner
679c08513a Drop setuid ASAP, to minimize code executed as root.
Reviewed by:	pst
1996-08-09 06:00:53 +00:00
phk
8e6b5828cf Make broadcast clients work. 1996-08-06 11:32:25 +00:00
pst
67d02bf67e Gratuitous whitespace change so that I can commit the source of the recent
buffer overflow patch.
Reviewed by:	pst
Submitted by:	Dave Andersen <angio@aros.net>
1996-08-05 00:50:02 +00:00
pst
1386f27d09 Fix up some more buffer overflow problems. 1996-08-05 00:31:27 +00:00
wpaul
d200f0db63 Fix a couple of bogons. The first two were brought to my attention
by Peter Wemm:

- In yppasswdproc_update_1_svc(), I wasn't paying attention and put
  a couple of lines of code _after_ a return() instead of before.
  (*blush*)

- The removal of certain temp files didn't always work (this showed
  up mostly if you were using /etc/master.passwd as your NIS passwd
  template instead of /var/yp/master.passwd). This is because the
  whole temp file creation mechanism I was using was tragically
  broken (you can't rename across filesystems).

This problem I found myself:

- If you have a very large password database (30,000 or more entries),
  there can be a delay of several seconds while pw_copy() copies the
  ASCII template file and subsitutes in the modified/new entry. During
  this time, the clnt_udp() code in the RPC library may get impatient
  and retry its request. This will get queued at the server and be
  treated as a second request. By then the password change will have
  been completed and the second request will fail (the old password is
  no longer valid). To attempt to fix this, we save the IP address and
  port of each request and ignore any subsequent requests from the
  same IP and same port that arrive within five minutes of each other.
1996-08-04 22:13:05 +00:00
phk
c6caa4699e Enhance crunchgens understanding of our new /usr/obj/pwd strategy. 1996-08-04 20:38:53 +00:00
jkh
ff8fc6b664 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
jkh
c13a841e41 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
jkh
05e454700f Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
nate
253c83930a Use the defines and macros defined in /sys/pccard/cis.h to make the code
easier to understand.  LOTS more work needed in this area.

Inspired by:	The Nomad code
1996-08-01 15:45:46 +00:00
jkh
c8828e74f3 Whoops! VTYs return zero values for TIOCGSIZE! Work around this. 1996-08-01 13:47:03 +00:00
jkh
6b1c559b52 Don't query DNS if we haven't got it configured. 1996-08-01 12:59:54 +00:00
jkh
0d5105c09c Handle SIGPIPE in a couple of crucial places. 1996-08-01 12:35:51 +00:00
jkh
8e3eb39d32 Put verbosity in the right place. 1996-08-01 12:13:20 +00:00
jkh
b92ac389f9 Purely cosmetic tweaks. 1996-08-01 12:02:26 +00:00
jkh
6b01d10031 Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
af06a2d9e6 Close PR#1542. Don't just assume 24 lines, get the tty size.
Some things may still display text on the 24th line, but that's because
they've always been screens designed to fit into a minimal real-estate
and have hardwired assumptions about the dimensions.  They'll be a little
harder to make dynamic.
1996-08-01 10:58:54 +00:00
jkh
4ae389eee6 Make -force work for pkg_add. 1996-07-31 21:52:33 +00:00
jkh
1ebf76b0c3 Add a required save/restore 1996-07-31 14:49:20 +00:00
jkh
244a31b11c Try again. 1996-07-31 10:55:19 +00:00
jkh
2a50131bb0 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
jkh
77aca7788a Prevent Geometry warning messages when the disk is already "dedicated" 1996-07-31 09:10:39 +00:00
jkh
8148aa6d91 More minor tweaks (that I'm trying to get into the SNAP). 1996-07-31 06:41:29 +00:00
jkh
7bb847443d Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.
1996-07-31 06:20:59 +00:00
jkh
84d2379289 Add MD5 checksums to packing list for all files during pkg_create and use
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed!  That's a tougher problem to solve, and this provides
only the minimal amount of safety belt.  MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
1996-07-30 10:48:20 +00:00
alex
5306d9c9d6 "appeared in 4.2BSD.." changed to "appeared in 4.2BSD." 1996-07-27 01:20:00 +00:00