summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Don't casually blow away FTP site settings now that it's easy for userjkh1996-10-141-5/+4
| | | | to override them.
* Remove the now-unusable ports configuration code. Swapping CDs is bogus.jkh1996-10-149-261/+19
|
* Fix PR#1557 - chained package dependencies using URLs didn't work.jkh1996-10-142-33/+35
|
* Fixed the security leek I introduced the other day, nowsos1996-10-131-3/+10
| | | | | shell command is only executabel from command files, not from the commandline.
* Be less draconian about distribution extraction errors - still writejkh1996-10-122-10/+12
| | | | /etc file changes out.
* Get the pysical address for id_maddr when opening an -incore kernel.erich1996-10-122-2/+2
| | | | | | | | | | | | This fixes the kernel panic when propagating userconfig changes to arbitrary kernels. Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where necessary. Fix getting scsi bus information from an -incore kernel. Turned on SAVE_USERCONFIG by default.
* Some cosmetic tweaks, attempt to fix package wait problem by checkingjkh1996-10-124-15/+23
| | | | | for error return as well (not sure if this is it, but it's one possible explanation).
* 1. Room to calculate MD5 for CHAP negotiation is shorter thanjkh1996-10-125-12/+30
| | | | | | | | | | | | | | | | required. a core is not dumped at first connecting time and dumped at second or third time. (patch I) 2. A routine for "show route" refers out of allocated space. Values pointed by "lp" should be read as CHAR, I think. there is also no free() for disallocation. (patch II) Here is also a patch for an improvement: In current imprementation, even if PPP connection is disconnected by time out, prompt of interactive mode does not change from "PPP>" to "ppp>" to indicate the disconnection on a terminal. So I modified the code to do that. (patch III) Submitted-By: NAKAMURA Motonori <motonori@econ.kyoto-u.ac.jp>
* De-cruftify.wollman1996-10-113-192/+99
| | | | | Use the link MIB interface rather than groveling around in kmem. (No longer works on dead kernels, big deal.)
* Allow shell commands in all modes.sos1996-10-101-3/+3
| | | | Old behavior can be had with define SHELL_ONLY_INTERACTIVELY
* Ahem. It might be nice if I included /usr/src/contrib in with the otherjkh1996-10-105-23/+30
| | | | | src dists. This alone is a good reason to re-roll the SNAP before putting it on CD.
* Enable NIS supportpst1996-10-091-3/+5
|
* DTRT if ESC is hit in a Yes/No dialog.jkh1996-10-0910-23/+27
| | | | Noticed-by: jfieber
* Add the feature to use MYADDR & HISADDR macroes as arguments tosos1996-10-071-2/+12
| | | | a shell escape.
* Properly include prototypes.jkh1996-10-072-2/+7
| | | | Submitted-by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
* Add passwdauth to list of vars.jkh1996-10-061-3/+3
| | | | Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
* Sigh. There are still some weird boundry cases (argh!). Turnjkh1996-10-062-2/+2
| | | | off SAVE_USERCONFIG again until Eric comes back from his trip.
* Detect the zero-chunks case properly, now that I've reversed the orderjkh1996-10-063-3/+12
| | | | | | of the distribution probes over ftp. Properly #ifdef the SAVE_USERCONFIG code.
* Add support for the Evil Microsoft ppp extentions. Yes, they did itjkh1996-10-0612-36/+502
| | | | | | | | on their own without even attempting to get concensus in the IETF, but there are also lots of Win95/NT boxes out there. CLoses PR#1494 Submitted-By: Peter Childs <pjchilds@imforei.apana.org.au>
* Correctly re-adjust current slice # when slices are deleted.jkh1996-10-064-168/+236
| | | | Beautify the code a little.
* Turn SAVE_USERCONFIG on again - I found the bug.jkh1996-10-062-2/+2
|
* Better PKG_TMPDIR handling.jkh1996-10-061-3/+2
|
* Be more paranoid about clearing the FTP path when we have the slightestjkh1996-10-061-3/+10
| | | | reason to doubt its authenticity.
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-054-8/+10
|
* Make the save_userconfig() stuff conditional and turned off by defaultjkh1996-10-055-61/+58
| | | | | (for now - still a few more wrinkles here). Add more debugging code and some cosmetic tweaks.
* syslogd has always bugged me with it's async startup at boot time.peter1996-10-051-6/+71
| | | | | | | | | | | | | | | | | | | For me, more often than not, the backgrounded syslogd daemon is not yet ready to process log messages before other things (such as named) want to log a heap of them. It seems that it's the O_SYNC writes of the stuff coming in from /dev/klog that's the slowdown. Anyway, instead of using the libc daemon, roll a modified version. This one has a timeout. The child will wait for either the timeout to expire or the child process to signal it to let it know that it's "ready" and the /dev/log socket is set up and active, so it's safe to continue the boot. It adds a small fraction of a second pause to the boot time, but on the other hand the overall boot time is *quicker* since the disk is not being thrashed while the log messages are getting written out synchronously one by one while other daemons are loading in parallel. The timeout is in case the child segfaults or something before becoming fully operational.
* Wait for any stray processes we might be sent while running as init.jkh1996-10-051-1/+5
| | | | | I have cautious hopes that this will fix the package installer zombie accumulation problem.
* Correct check for ensuring that the network configuration isn't fiddled withjkh1996-10-051-9/+9
| | | | when running multi-user.
* 1. Change device probing so that high speed network devices are found beforejkh1996-10-054-108/+106
| | | | | | | | | | | SLIP/PPP devices, putting them before the others in the network device selection menu. 2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator for the "OK" button in FTP site selection menu. 3. Detect the NULL last symbol in the name list and initialize the other members correctly.
* Multiple changes stacked as one commit since they all depend on one another.jkh1996-10-054-24/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, change sysinstall and the Makefile rules to not build the kernel nlist directly into sysinstall now. Instead, spit it out as an ascii file in /stand and parse it from sysinstall later. This solves the chicken-n- egg problem of building sysinstall into the fsimage before BOOTMFS is built and can have its symbols extracted. Now we generate the symbol file in release.8. Second, add Poul-Henning's USERCONFIG_BOOT changes. These have two effects: 1. Userconfig is always entered, rather than only after a -c (don't scream yet, it's not as bad as it sounds). 2. Userconfig reads a message string which can optionally be written just past the boot blocks. This string "preloads" the userconfig input buffer and is parsed as user input. If the first command is not "USERCONFIG", userconfig will treat this as an implied "quit" (which is why you don't need to scream - you never even know you went through userconfig and back out again if you don't specifically ask for it), otherwise it will read and execute the following commands until a "quit" is seen or the end is reached, in which case the normal userconfig command prompt will then be presented. How to create your own startup sequences, using any boot.flp image from the next snap forward (not yet, but soon): % dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO USERCONFIG irq ed0 10 iomem ed0 0xcc000 disable ed1 quit WAKKA_WAKKA_DOO Third, add an intro screen to UserConfig so that users aren't just thrown into this strange screen if userconfig is auto-launched. The default boot.flp startup sequence is now, in fact, this: USERCONFIG intro visual (Since visual never returns, we don't need a following "quit"). Submitted-By: phk & jkh
* Add stuff to CLEANFILES.jkh1996-10-052-2/+2
|
* Various cosmetic tweaks.jkh1996-10-046-42/+56
|
* Syncronize my tree so Eric can access the latest code.jkh1996-10-0412-62/+70
|
* Temporarily disable userconfig saving until I figure out why uc_open()jkh1996-10-032-2/+6
| | | | | loops internally for BOOTMFS (not being able to run gdb on sysinstall when it's running as init is a real pain!).
* Check return values from uc_open() correctly. Note: This seems to workjkh1996-10-032-6/+6
| | | | | really well when running the GENERIC kernel but not with the BOOTMFS kernel. Further work is needed.
* Fix the "missing nameserver value" bug. Simplify some unnecessarilyjkh1996-10-032-30/+44
| | | | crufty code, here and there.
* First cut at a "copy userconfig changes from installation kernel to installedjkh1996-10-037-119/+187
| | | | | | kernel" mechanism. This is just the foundation - more work follows and will be committed over the next few hours. Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
* One small policy tweak to something I like better.jkh1996-10-024-6/+10
|
* More strategic screen clears().jkh1996-10-022-24/+52
|
* Fixes and a place-holder for future work.jkh1996-10-023-14/+28
|
* Catch a clear() I missed.jkh1996-10-022-10/+12
|
* Don't annoyingly reconfigure the network when you don't have to.jkh1996-10-021-7/+16
|
* More tweaks to FTP reselection code - allow "none" to stand forjkh1996-10-021-2/+2
| | | | "no specific release - use anything you can find"
* Try to get the info file before the whole file - it eliminatesjkh1996-10-021-27/+29
| | | | a gratuitous fetch attempt in most situations.
* Make FTP site reselection work the way it always should have.jkh1996-10-021-18/+1
|
* Release setuid immediately after initializing; this minimizes thefenner1996-10-014-19/+21
| | | | | | | | possibility of security holes allowing root penetration. Inspired by: Mark Handley <M.Handley@cs.ucl.ac.uk> and Theo de Raadt <deraadt@theos.com> independently Submitted by: Theo de Raadt <deraadt@theos.com>
* Round 2.5jkh1996-10-015-20/+40
|
* Installation cleanup, round II.jkh1996-10-0111-91/+179
|
* Saner screen refresh changes, part I.jkh1996-10-018-50/+66
|
* Fix potential buffer overrunpst1996-10-011-5/+8
|
OpenPOWER on IntegriCloud