Commit Graph

1992 Commits

Author SHA1 Message Date
Joerg Wunsch 91fe9e81d3 Update the man page: the Philips CDD2000 is now supported.
2.2 candidate, iff the driver update has been merged.
1996-11-06 13:35:27 +00:00
Poul-Henning Kamp 01961df54d Remove a bogon from version 1.69. Just because we say "use all disk"
doesn't mean that our geometry can be flushed down the drain.
1996-11-05 19:53:20 +00:00
Wolfram Schneider f078c9c9bc export PATH variable 1996-11-04 23:57:40 +00:00
Wolfram Schneider f2cebac5c9 add PATH variable, use it 1996-11-04 23:54:01 +00:00
Wolfram Schneider ea4da3a878 export PATH variable 1996-11-04 23:50:58 +00:00
Jordan K. Hubbard d57b472224 Placate Joerg some more by making screen savers get a reasonable default
timeout.
2.2-RELEASE candidate, like all the work here in release/sysinstall.
1996-11-04 17:42:22 +00:00
Wolfram Schneider bb0d295728 manpages for rmgroup(8) and addgroup(8) 1996-11-04 17:21:11 +00:00
Bruce Evans 5020b5df96 Fixed recently-introduced bugs:
- `slstat' with no args dumped core.
- `slstat unit' always failed with a "sysctl linkspecific" error.
- the usage message was nonstandard.

Fixed old bugs:
- missing prototypes, Wformat errors, and other lint.
1996-11-04 17:14:43 +00:00
Bruce Evans 878152249a The interface number hasn't been a _single_ digit since prehistoric times. 1996-11-04 17:13:46 +00:00
Jordan K. Hubbard 5def50038a Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev.

Change the way that the routing daemon is configured entirely, to
placate Joerg.  Also auto-load gated if it's specified, while we're at it.
1996-11-04 12:56:33 +00:00
Jordan K. Hubbard 3c669c7ea7 Make it clearer that DNS has succeeded for your host choice. 1996-11-04 02:12:49 +00:00
Adam David 5a0722857d typo 1996-11-03 12:25:21 +00:00
Jordan K. Hubbard 232c762e37 Fix a bogus decent into the network setup screen when running
multi-user.

Don't clear media on dist failure - this was one of those "seemed like a good
idea at the time" sorts of features.
1996-11-02 19:50:32 +00:00
Warner Losh 471595b02c Fix minor buffer problems:
Off by one in verify allowed one to march one byte off the end of
	wd.wd_hostname if wd.wd_hostname had no NUL characters in it.

	strncpy of myname into mywd used the source buffer's length, rather
	than the dest.
1996-11-01 06:29:34 +00:00
Alexander Langer 9e375707a5 Fix incorrect length argument to memset() function. Closes PR#1937.
Submitted by:	Archie Cobbs <archie@whistle.com>
1996-11-01 01:42:08 +00:00
Joerg Wunsch eea6c03c51 Improve the sample login script now that our sh(1) understands -p.
Closes PR # docs/1383: ppp(8) man page suggests using shell script...
1996-10-31 19:55:05 +00:00
Andrey A. Chernov 7860637efd Fix base64->8bit conversion
Submitted by: Eric Allman <eric@sendmail.org>
1996-10-31 00:45:43 +00:00
Andrey A. Chernov f5887b6bad Oops, don't suppress initial output header (from previous commit),
it is superfluous
1996-10-31 00:03:14 +00:00
Andrey A. Chernov a4ac83ea2c 1) print only errors if -v not given, it allows non-verbose
crontab runnig
2) use full path /usr/bin/mail for security reasons
3) Use time_t instead of long for time (in one place)
1996-10-30 23:58:08 +00:00
Wolfram Schneider eb651d9f73 rmgroup - delete a Unix group
usage: rmgroup group
1996-10-30 20:58:47 +00:00
Wolfram Schneider 627199df42 addgroup - add a group or add users to a group
addgroup [-g gid] group [user[,user,...]]
1996-10-29 20:31:43 +00:00
Stefan Eßer fbe5d89ffe Correct indentation of multi-LUN device info. (Slightly different fix
than suggested by Bruce Evans).

Submitted by:	bde
1996-10-29 19:32:31 +00:00
Peter Wemm ac01991ab7 Integrate our changes from bin/rmail. Mainly it causes immediate
delivery rather than queueing it and forgetting it.

(and some -Wall fixes where gcc is too dumb to see it's a "cant happen")
1996-10-29 11:32:22 +00:00
Peter Wemm aedbf2687d Convert the DONT_FSYNC compile time option to a runtime option (like
nobiff).  The options to turn these on are specified in the
LOCAL_MAILER_ARGS define the the sendmail.mc that you build from.
1996-10-29 05:35:24 +00:00
Peter Wemm b0591e84e9 Merge in our changes from src/libexec/mail.local. This version doesn't
violate disk quotas, has more robust locking, is still being developed,
etc.  The main changes merged in were the ability to not fsync() the
mailbox, not do biff/comsat broadcasts, man page fixes.
1996-10-29 05:22:52 +00:00
Joerg Wunsch d4788da623 Do not modify a malloc()ed pointer; instead, use memmove().
Detected by: phkmalloc - AJ :)
1996-10-28 23:02:38 +00:00
Joerg Wunsch 1c0899bbb0 Back out the entire change from rev 1.11 of syslogd.c. It was bogus.
Correct the man page to reflect the new reality.
1996-10-28 08:25:13 +00:00
Alexander Langer c2dc07c8eb Fix a typo, putput --> output.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-10-27 23:12:48 +00:00
Warner Losh bc407914f9 lpc/cmds.c:
From NetBSD via OpenBSD to fix NetBSD PR #506
	More descriptive message for printer status
	(OpenBSD: 1.2)

	Various warnings cleaned up (OpenBSD: 1.4)

lpc/lpc.c:
	Various warnings cleaned up (OpenBSD: 1.3)

lpd/lpd.c:
	Remove trailing blank lines (OpenBSD: 1.2)

	Potential umask problem with creating /dev/printer
	(OpenBSD: 1.4 and 1.5)

	Ftp bounce attack (untested on FreeBSD)
	(OpenBSD: 1.6, 1.8, 1.9)
	Fencepost in strncpy
	(OpenBSD: 1.6)

lpd/printjob.c:
	Fix from freebsd for waiting for an exiting filter, that
	appears not in the FreeBSD CVS tree.
	(OpenBSD: 1.6)

lpd/recvjob.c:
	Buffer overflow protection: use strncpy rather than strcpy.
	(OpenBSD: 1.3)

lpr/lpr.c:
	NetBSD change of return type for main()
	(OpenBSD: 1.2)

	Restrict time running as root
	(OpenBSD: 1.7)

	Use getcwd rather than getwd (from NetBSD)

	Use snprintf rather than sprintf
	(OpenBSD: 1.8)

	Minor tweak to end of loop and buffer overflow sanity.  card()
	overflow already in FreeBSD
	(OpenBSD: 1.9)

lptest/lptest.c:
	void -> int return type of main, from NetBSD via OpenBSD
	(OpenBSD: 1.2)

pac/pac.c:
	void -> int return type of main, from NetBSD via OpenBSD
	(OpenBSD: 1.3)

Obtained from: OpenBSD
1996-10-27 03:06:52 +00:00
Warner Losh d1f8ff8c2e Fix transcription error I introduced in last patch. This created a
fencepost error that would run one off the end of the buffer.

Noticed by: Bruce Evans
1996-10-26 00:46:34 +00:00
Warner Losh 4f6653b930 Fix a problem where the command line could be used to overflow a stack
buffer which could be made to lead to a root shell.  This patch is
OpenBSD's solution to the problem, and will silently truncate the
output rather than overflow the buffer.

Obtained from: OpenBSD
1996-10-25 18:14:48 +00:00
Bruce Evans 378817d2ee Made this work for non-root again. The security fixes in rev.1.11
were equivalent to disabling its setgid'ness, since the default
kernel was not distinguished from a user-specified kernel.
1996-10-25 15:36:42 +00:00
Bill Paul 4451976029 Add support for handling the YP_SECURE and YP_INTERDOMAIN keys from
any maps that may have them. If the YP_SECURE key is present, ypserv
will only allow access to the map from clients on reserved ports.
If the YP_INTERDOMAIN key is present, the server will do DNS lookups
for hostnames that it can't find in hosts.byname or hosts.byaddr.
This is the same as the -d flag (which is retained for backwards
compatibility) but it can be set on a per-map/per-domain basis.

Also modified /var/yp/Makefile to add YP_INTERDOMAIN to the hosts.*
maps and YP_SECURE to master.passwd.* maps by default.
1996-10-24 18:58:26 +00:00
Bill Paul 21c2d66cd6 Add -b and -s flags for adding YP_INTERDOMAIN and YP_SECURE entries to
map databases. Also document said flags in the man page.

Adding YP_INTERDOMAIN to a map causes ypserv(8) to do a DNS lookup
when a yp_match() on the map fails. (This affects only the hosts.by*
maps; for all other maps it's ignored.) The YP_SECURE entry causes
ypserv(8) to restrict access to the map so that only clients making
requests from reserved ports can get at it.

Our ypserv doesn't currently support these features so they're silently
ignored for the moment, but this will change. :)
1996-10-24 14:52:50 +00:00
Peter Wemm 0ee48eaae9 Untangle NEWDB/NDBM options.
Enable praliases.c to not use NDBM.
1996-10-24 14:04:03 +00:00
Peter Wemm 42e9eb2671 missed this praliases.8 <-> praliases.0 change 1996-10-24 05:20:52 +00:00
Peter Wemm 82c2534fd0 Fold sendmail-8.8.2 changes into files that have been touched.
(^!&@$#&^! delete !!@^@^ trailing !@^&#$!& whitespace!!!)
1996-10-24 05:07:25 +00:00
Peter Wemm 3b50ea913d This commit was generated by cvs2svn to compensate for changes in r19146,
which included commits to RCS files with non-trunk default branches.
1996-10-24 04:51:14 +00:00
Peter Wemm 606a993469 Import sendmail-8.8.2 onto the vendor branch
Obtained from: Eric Allman <eric@sendmail.org>
1996-10-24 04:51:14 +00:00
Wolfram Schneider 88f04d6fce fix FAQ URL. Note for Jordan: don't merge this change into 2.1.6! 1996-10-23 22:28:56 +00:00
Bill Paul 323a8537ab Add extra sanity checking to the in-place update routine. Sometimes you
find two users with the same UID (i.e. root and toor), but yp_mkdb(8)
forbits duplicate keys, so only one of them will end up in the *.byuid
maps (probably toor, since it comes after root in the template file).
If I asked rpc.yppasswdd(8) to change toor's password, it would update
the *.byname maps correctly, but incorrectly modify root's entry in
the *.byuid maps since the only matching record with UID=0 in those
maps belongs to root.

To fix this, we check that both the name and UID are correct before trying
to write new entries to the maps.
1996-10-23 21:46:17 +00:00
Julian Elischer 36be1f6be9 Reviewed by: various (mailing list feedback)
Submitted by:	whistle communications

move the socket from /dev to /var/run by default
TRANSITIONALLY make syslog add a symlink..
I PROMISE I'll remove that as soon as I have the makefiles etc fixed as well.
1996-10-23 20:17:57 +00:00
Bill Paul 746c49fb53 In ypxfr_callback(), the failure to create an RPC CLIENT * handle for
the callback is a fatal error for this function; return immediatlely if
this happens. Also make the "failed to establish callback handle" error
mesaage print the IP address of the target callback host.
1996-10-23 15:49:22 +00:00
Bill Paul 511db384cf Make error messages more informative. 1996-10-23 15:42:37 +00:00
Marc G. Fournier 334dac624a Fixes:
>Description:
        pppd failes to set control terminal if -detach option is given.

Submitted by: enami@ba2.so-net.or.jp
1996-10-22 21:41:43 +00:00
Stefan Eßer eca55dceed Add pciconf. 1996-10-22 20:58:14 +00:00
Stefan Eßer d5ee39ef58 Initial version of the user land code for the PCI config register
access functions. Written by Garrett Wollman and modified by me to
better match my view of the (PCI) world.

Submitted by:	wollman
1996-10-22 20:27:47 +00:00
Bill Paul df4ddde70b Two small changes that were in my development sources at home
but never made it here for some reason:

- 'u' option was missing from getopt string
- Use daemon() to become daemonic.
1996-10-22 14:58:10 +00:00
Marc G. Fournier 8c78c8f41c Fixes:
If timed is running when system clock is changed by date command,
improper wtmp entry is made.  According to wtmp(5), two entries, one
with "|" as ut_line field and one with "{" for ut_line, should be
recorded, but, one with "|" and one with "}" are made.

Closes: PR#bin/1182

Submitted by:	 Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
1996-10-22 05:13:42 +00:00
Bill Paul b87efe4572 Since rpc.yppasswdd(8) also supports adding entries to the
/var/yp/master.passwd template file and it uses the same kind of code
as chpass(1), it may also be vulnerable to the bug from PR #1519.
May as well deal with it since I'm in the area. (yppasswdd in -stable
doesn't do additions, therefore it shouldn't be have this problem.)
1996-10-22 03:53:06 +00:00