summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* | Correct the syntax of the example to reflect reality, and note that themsmith1996-11-251-6/+6
| | | | | | | | | | | | 'host:' element is mandatory. A better fix would involve reworking bootparamd not to require a ':' in the response string.
* | Slow down the RIP and SAP broadcasts. At least some NW4.x machines can'tjhay1996-11-242-2/+16
| | | | | | | | | | handle them back-to-back. (We couldn't either without my ipx receive buffer enlargement.)
* | Don't dump core on zero-size files.phk1996-11-211-2/+2
| |
* | Latest reality.phk1996-11-206-6/+10
| |
* | Got the bugger. Eric's now passing in a hint structure to dbopen()jkh1996-11-201-0/+1
| | | | | | | | | | but forgot to zero the structure first, leaving hinfo.bsize undefined and causing a loop in __log2().
* | do not print 'illegal shell' for pseudo users news and xtenwosch1996-11-201-2/+2
| | | | | | | | Submitted by: kuku
* | Although I got rarpd to work, it was largely through kludgery. Billwpaul1996-11-192-48/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fenner was kind enough to point out the error of my ways. This incorporates diffs from him which: - Keep everything in network order. - Log the booted ether & ip address, instead of my address on that net - change several exit()'s to return()'s, so that rarpd continues running even if it thinks it's in a weird state. One small tweak by me: in rarp_bootable(), we have to make sure to construct 'ipname' in host byte order (if we don't, we have to specify /tftpboot/<remote IP in hex> with <remote IP in hex> in network byte order, which is confusing). Also restored use of <dirent.h> rather than <sys/dir.h> as pointed out by bde. Also updated the man page so that the -v flag is documented. With any luck, I won't have to touch this thing again.
* | Remove two uninitialized and unused variables that used to cause ajoerg1996-11-191-3/+2
| | | | | | | | segfault before.
* | Completely re-vamped `tzsetup':wollman1996-11-198-624/+656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - It no longer attempts to fiddle wall-vs-UTC-in-RTC. The results were just confusing most of the time. - The program no longer contains a pre-compiled list of timezones (compiled by groveling through the tzdata source files for comments starting with `ZONE-DESCR'). Now it uses the new `zone.tab' file supplied with current versions of the timezone data files, to determine the list at run time. (It also requires the ISO 3166 table I committed some months ago.) AS A RESULT, this program will NOT work until the new timezone data files are committed (should happen sometime soon).
* | typophk1996-11-191-2/+2
| |
* | Dohw! Left out one important htonl() in update_arptab().wpaul1996-11-181-3/+3
| | | | | | | | Pointed out by: Bill Fenner
* | Fix up new rarpd.wpaul1996-11-184-723/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes the following changes: - Support for poking ARP entries into the local table is now built in, so the arptab.c module I hacked together is no longer needed. - rarp_process() and rarp_reply() now accept a len argument which is passed down from rarp_loop() which tells rarp_reply() exactly how long the original RARP frame was. (Usually, it's 60 bytes, which is the minimum.) Previously, the length was calculated using the sum of sizeof(struct ether_header) + sizeof(struct ether_arp) (plus the ethernet frame header, I think). The result was a total packet length of 42 bytes. Now, rarp_reply() sends out packets that are the same size as those it recieves (60 bytes). This agrees with the behavior of rarpd on SunOS (as observed with tcpdump). The unused extra bytes are zeroed.
* | This commit was generated by cvs2svn to compensate for changes in r19855,wpaul1996-11-181-0/+224
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import new version of rarpd from the BPF 1.1 distribution from LBL.wpaul1996-11-184-282/+783
| | | | | | | | | | | | Obtained from: LBL, BPF 1.1 distribution
* | | put on my flame resistant suit and tempt fate by attempting to fix some ofpeter1996-11-181-51/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the races in my previous commits here, and fix some other problems with syslogd as well. - if the child process exited early (eg: could not bind to the socket), the boot process would hang for 30 seconds. The parent was not noticing that the child had exited. (my fault) - when writing to tty devices, instead of treating them like files that need \r\n instead of \n, actually use ttymsg() which has specific code intended to write to potentially blocking ttys safely. I had a machine lock up last night because /dev/console on a serial port got flow control blocked. Setting comcontrol drainwait fixed everything but syslogd which was going into a spin trying to write to the console and completely ignoreing everything else. - fix a couple of nonsensical bits of code while here.. eg: wait3 takes a pointer to an int. There is no sense in declaring it as 'union wait', then casting the pointer to (int *), then forgetting about it.
* | | Merge conflicts from 8.8.3 import onto mainline.peter1996-11-1815-140/+575
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r19841,peter1996-11-1817-359/+951
|\ \ \ | | |/ | |/| | | | which included commits to RCS files with non-trunk default branches.
| * | Import sendmail-8.8.3 - this contains the official fix to replace thepeter1996-11-1833-660/+1706
| | | | | | | | | | | | | | | | | | previous workaround patch that I used. Obtained from: Eric Allman <eric@sendmail.org>
* | | Update wording of the one message that was in the DIAGNOSTICS section.fenner1996-11-171-1/+19
| | | | | | | | | | | | | | | | | | Add three other common messages. This should be in 2.2 to go with the netinet/if_ether.c rewording.
* | | Make the case where there is no changes look less fatal.phk1996-11-172-1/+6
| | |
* | | install rmuser, addgroup, rmgroup in /usr/sbinwosch1996-11-174-4/+574
| | |
* | | Initialize memory obtained by malloc().joerg1996-11-161-2/+8
| | | | | | | | | | | | Detected by: phkmalloc -AJ
* | | Provide a symlink for /bin/sh when the fixit floppy is mounted, sojoerg1996-11-162-2/+8
| | | | | | | | | | | | | | | | | | scripts using #!/bin/sh (like /mnt2/dev/MAKEDEV) will work. Observed by: andreas
* | | Fix core dump after printing usage message (pointed out by BDE).se1996-11-161-2/+3
| | | | | | | | | | | | | | | | | | Add printing of PCI header type register. (This makes the output 80 columns wide. Ughh. I'm looking for a better way to put the information on one line ...)
* | | Check bogus and ignore against the relative name, not the absolute.phk1996-11-161-16/+18
| | |
* | | Improve mkctm.c so we can use it, and start using it.phk1996-11-164-335/+173
| | | | | | | | | | | | | | | | | | This should help quite a bit on the load. Notice that some minor changes in config files will be needed. Contact me for details.
* | | Disallow non-root users to start in daemon mode.peter1996-11-161-9/+22
| | | | | | | | | | | | Obtained from: Eric Allman <eric@sendmail.org>
* | | Add vx to list of devices.jkh1996-11-152-2/+4
| | |
* | | Eek! When I added the YP_INTERDOMAIN and YP_SECURE support, I documentedwpaul1996-11-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and set the B and S variables here, but I forgot to actually add them to the master.passwd and hosts.* targets. In other words, they weren't being passed to yp_mkdb as needed. This needs to go into 2.2; it doesn't break things a lot, but it leaves your master.passwd maps available to unprivileged users without you realizing it.
* | | oops, forgot to commit this. the sockaddr_un init code was missingpeter1996-11-151-4/+6
| | | | | | | | | | | | | | | | | | initialisers for sun_len and not accounting for it in the sizeof calculation. Ie: it was potentially sending an unterminated string into the kernel.
* | | Fix harmless bugs found while hunting for chpass nis failurepeter1996-11-152-6/+6
| | |
* | | Uninitialised length variable passed to accept(), causing random accept()peter1996-11-151-2/+3
| | | | | | | | | | | | | | | | | | failures due to EFAULT. This is screaming out to go into 2.2
* | | Use new ftpGetURL interface, as result, report FTP errorache1996-11-141-4/+7
| | | | | | | | | | | | via ftpErrString or net error via hstrerror(h_errno)
* | | "over 600 packages" (geeze, this has been sitting uncommitted in myjkh1996-11-142-4/+4
| | | | | | | | | | | | source tree for 5 days! :-( ).
* | | Bring forward doc changes from 2.2. Much will need changing for 3.0,jkh1996-11-131-2/+2
| | | | | | | | | | | | | | | which is where this is headed, but it's better than the 2.2-SNAP docs.
* | | Back out freebsd local change which always forced SMTP to assume an 8-bitpst1996-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clear channel. This change was originally put in for freefall, and is completely irrelevant given that freefaill defines the generic SMTP service to use the smtp8 mailer (which is standard mechanism.) [The original patch violated RFC-821.] Apply to: 2.2 (please)
* | | Manage UTMP entry if we're doing username/password PAP loginspst1996-11-131-10/+32
| | |
* | | Only save userconfig changes if the boot floppy version and thejkh1996-11-122-4/+6
| | | | | | | | | | | | | | | | | | installed version match. Pointed-out-by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
* | | doc/1987, table heading in error.phk1996-11-121-1/+1
| | | | | | | | | | | | Submitted by: Mark Valentine Mark Valentine <mark@linus.demon.co.uk>
* | | Update to the unreleased mrouted 3.8a . This includes a minorfenner1996-11-1116-234/+602
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | endian-ness fix, Router Alert options on IGMP messages, and a new keyword, "advert_metric", for fine-tuning tunnel metrics. This also includes a new mtrace, which is also unreleased but builds significantly on the experiences of users' troubles with using and understanding mtrace in release 3.8 . (unreleased does not, of course, mean untested!) This is a candidate for both 2.2 and 2.1.6 .
* | | Reviewed by: Bill fennerjulian1996-11-103-76/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Archie Cobbs (Archie@whistle.com) Changes to allow inted to control the number of servers to start on each service. This is a defence against a denial of service attack in which the system is made unusable by an external party. It also allows the behaviour of small memory systems to be more accuratly predicted, by bounding the extent to which processes can multiply.
* | | Reviewed by: Bill fennerjulian1996-11-101-34/+30
| | | | | | | | | | | | | | | | | | Submitted by: Archie Cobbs (archie@whistle.com) changes to make inetd compile cleaner under -Wall
* | | Add sendmail option '-oi'wosch1996-11-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | -oi Do not take dots on a line by themselves as a message terminator. Now this crontab entry works: * * * * * echo foo; echo .; echo blah
* | | Disgusting kludge to make depend rule work again in the fact ofjkh1996-11-092-24/+12
| | | | | | | | | | | | Joerg's keymap.[ch] changes. If there's a better way, I'd like to know.
* | | Whups, we need the VGA16 server by default too.jkh1996-11-091-3/+3
| | |
* | | 1. Saner ldconfig path.jkh1996-11-093-7/+7
| | | | | | | | | | | | 2. Choose DIST_XF86_CFG in defaults; XF86Setup isn't happy otherwise.
* | | 1. Take out console setup in options now that Joerg has moved it intojkh1996-11-097-1502/+1459
| | | | | | | | | | | | | | | | | | | | | the main menu. 2. Conditionalized a few small things which needed it. 3. Put PC98 X servers in their own menu, there are so many of them now. 4. Rampaged on the menus.c file in general, reformatting and cleaning up.
* | | Sysinstall now offers the installation of a keymap early in the game!joerg1996-11-0910-48/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all mappings are supported, most languages come only with one encoding since this should be sufficient to get up & running in using sysinstall, and we are already pretty tight on space. (My previous commit has already bumped the boot MFS size by another 50 KB for this.) This feature requires the `kbdcontrol -L' i've just committed. Plain text keymaps and the entire scanner are overkill for sysinstall. Also updated the list of available keymaps while i was at it. Reviewed by: jkh
* | | Several improvements to the `fixit' configuration:joerg1996-11-092-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . Don't gzip the crunched binary by now; it just fits, and execution is a lot faster this way (it's truly demand-paged again). . Add more(1), ft(8), protocols(5), a stripped down services(5). . Improve the .profile, and make sysinstall actually use it again. Still no go for a 4 MB configuration though. :-(
* | | Implement a -L option that dumps the compiled keymap (as C code) tojoerg1996-11-092-6/+36
| | | | | | | | | | | | stdout. The next commit to sysinstall will use this...
OpenPOWER on IntegriCloud