summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Revert part of the previous change. syslogd (when logging to ttys)peter1996-12-101-5/+3
| | | | | | | | | | | has always held an open file descriptor. This allowed logging to spare virtual consoles and being able to switch to them. My previous change removed this since all writes were done with ttymsg() which opens it's own fd, and hence syslogd didn't need it's own fd to send messages on... but this caused an unexpected behavior change. This should close PR#2176
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-1010-23/+44
| | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* Update to benefit from David's recent changes to pw(8). The mostjoerg1996-12-102-25/+208
| | | | | | | | obvious effects are that most of the automagically chosen defaults will now be displayed while going through the menu, and an improved error handling thanks to the more detailed error status reporting. 2.2 fodder, but i'll leave it to Jordan's review.
* Merge from the vendor-branch.joerg1996-12-101-56/+208
|
* This commit was generated by cvs2svn to compensate for changes in r20267,joerg1996-12-098-127/+274
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Upgrade from the author, reflecting all my wishes resulting out of thejoerg1996-12-099-183/+482
| | | | | | | | | | | | | | | | sysinstall use of this tool (plus some bug fixes). 2.2 candidate... Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
* | Minor spelling/mdoc/style fixes.mpp1996-12-091-20/+25
| |
* | Set timeout interval to 0 in ppp so connections don't hang up whilejkh1996-12-091-1/+2
| | | | | | | | we're doing something lengthy with the disk.
* | Add pw to build list - I need it now. :)jkh1996-12-091-2/+2
| |
* | Slightly improve the wording of a ``not yet there'' message.joerg1996-12-091-2/+3
| |
* | This commit was generated by cvs2svn to compensate for changes in r20253,joerg1996-12-0921-0/+4523
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * pw(8) -- a backend utility to manage the user and group databases.joerg1996-12-0921-0/+4523
| | | | | | | sysinstall's new User&group menu will use it, hence it's a 2.2 candidate despite of providing new functionality. Submitted by: David L. Nugent, <davidn@blaze.net.au>
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-0921-80/+102
| | | | | | | bogus or overly complex and really needed to be done more consistently and sanely throughout - no question about it. Done. Suggested-By: Paul Traina <pst@Shockwave.COM>
* Minor formatting/style fixes.mpp1996-12-091-7/+4
| | | | Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
* Convert to mdoc format.mpp1996-12-091-76/+70
| | | | Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
* Whups, missed two strcpy()s.jkh1996-12-091-3/+3
|
* Eliminate great evil in the networking code. That's all I'm gonna say.jkh1996-12-094-76/+21
|
* Add Joerg's user management screen for David Nugent's pw(8) program, somethingjkh1996-12-0911-21/+902
| | | | | | | | | which will also need to be brought in before this screen will work. Add some commentary about how the slip startup code is bogus. Steal Joerg's loop for more properly closing all files and graft it into the EHS startup. My loop was functional but more bogus.
* Several areas of improvement:jkh1996-12-088-55/+50
| | | | | | | | o Incorporate some of Tatsumi's bug fixes. o Remove the xperimnt and commerce distribution items; they haven't been actual distributions for awhile. o Try to sanitize the device checking code a little more. o Cosmetic work on the network code.
* Expand username limit to 16ache1996-12-072-7/+7
|
* Update this to what freefall's been running for a day or so.peter1996-12-061-3/+7
|
* Added my 'ddial' patches to user-PPP. The new mode tries it's darndestnate1996-12-036-16/+52
| | | | | | | to keep the link up, so it re-dials whenever it detects the link go down. This is useful for 'dedicated' links who use PPP. It's been used for over a year w/out problems at different sites.
* Remove file that we don't have any way of using. We don't have the otherpeter1996-12-031-320/+0
| | | | Makefiles for other OS's in our tree that this uses when not using bmake.
* Remove file no longer shipped with sendmailpeter1996-12-031-305/+0
|
* Remove defunct files that are no longer shipped (and don't work with thispeter1996-12-032-739/+0
| | | | version of sendmail any more)
* Back out rev 1.6, it's in the official source now (a few lines up)peter1996-12-031-1/+0
|
* Merge 8.8.3->8.8.4 changes onto our mainline where we've edited thepeter1996-12-0319-328/+607
| | | | | | file at some point in the past. Obtained from: Eric Allman <eric@sendmail.org>
* This commit was generated by cvs2svn to compensate for changes in r20103,peter1996-12-0319-119/+595
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import sendmail 8.8.4. See RELEASE_NOTES for changes.peter1996-12-0338-446/+1201
| |
* | Back out the non-forking YPPROC_ALL stuff. Whatever drugs I was doingwpaul1996-12-035-299/+92
| | | | | | | | | | | | | | | | | | | | | | | | when I came up with this idea weren't strong enough to help me see it through. If this was a self-contained application and I had complete control over what data got sent through what socket and when, I might be able to get everything to work right without blocking, but instead I have RPC/XDR in between me and the socket layer, and they have their own ideas about what to do. Maybe one day I'll go totally mad and figure out the right way to do this; in the meantime this mess goes on the back burner.
* | Fix a typo in the man page (the "-n" flag was added to the synopsis infenner1996-12-021-1/+1
| | | | | | | | a comment).
* | I have added a '-n' flag to the watch(8) command. This optionjkh1996-12-022-9/+20
| | | | | | | | | | | | | | | | | | | | | | disables the ability to interactively select a new tty. I have also removed a check for uid == 0 because it gets in the way of using suid mode based access control. Watch (8)is only runnable by root, so this does not really change things much. Closes PR#2131 Submitted-By: adrian@virginia.edu
* | Don't run routed by default.jkh1996-12-024-12/+12
| | | | | | | | Virtually-Demanded-At-Gunpoint-By: joerg
* | Move configResolv() to *after* the chroot(). This is what was causingjkh1996-12-012-8/+4
| | | | | | | | NFS installation to fail the first time. This will go into 2.2.
* | This commit changes the YPPROC_ALL procecdure so that it handles requestswpaul1996-11-305-95/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _without_ using fork(). The problem with YPPROC_ALL is that it transmits an entire map through a TCP pipe as the result of a single RPC call. First of all, this requires certain hackery in the XDR filter. Second, if the map being sent is large, the server can end up spending lots of time in the XDR filter sending to just the one client, while requests for other clients will go unanswered. My original solution for this was to fork() the request into a child process which terminates after the map has been transmitted (or the transfer is interrupted due to an error). This leaves the parent free to handle other requests. But this solution is kind of lame: fork() is relatively expensive, and we have to keep a cap on the number of child processes to keep from swamping the system. What we do now is grab control of the service transport handle and XDR handle from the RPC library and send the records one at a time ourselves instead of letting the RPC library do it. We send a record, then go back to the svc_run() loop and select() on the socket. If select() says we can still write data, we send the next record. Then we call svc_getreqset() and handle other RPCs and loop around again. This way, we can handle other RPCs between records. We manage multiple YPPROC_ALL requests using a circular queue. When a request is done, we dequeue it and destroy the handle. We also tag each request with a ttl which is decremented whevever we run the queue and a handle isn't serviced. This lets us nuke requests that have sat idle for too long (if we didn't do this, we might run out of socket descriptors.) Now all I have to do is come up with an async resolver, and ypserv won't need to fork() at all. :) Note: these changes should not go into 2.2 unless they get a very throrough shakedown before the final cutoff date.
* | Change boolean nature of "router" variable since it's not a booleanjkh1996-11-292-4/+4
| | | | | | | | | | anymore. Noticed-By: joerg
* | Try to impreve DD mode.phk1996-11-274-54/+34
| | | | | | | | Try to make 4Mb floppies work again.
* | Don't show on the screen just securely entered passwordache1996-11-271-3/+3
| | | | | | | | | | (in /etc/adduser.message text) Sending password by E-mail on local machine is joke in any case
* | Add -s flag to always supply mapping if known, ignoring thefenner1996-11-272-6/+20
| | | | | | | | presence or absence of files in /tftpboot.
* | Make the man page reflect reality. Add BUGS section about DNS.fenner1996-11-272-16/+28
| | | | | | | | | | Logging cleanups (including logging the requestor's MAC address instead of the server's).
* | Simplified. Some fts related bugs removed. Made less verbose. The defaultmckay1996-11-271-121/+91
| | | | | | | | | | | | number of mail messages sent per run was lowered from 2 to 1. Why? Well, some numbers just give you the warm fuzzies, like zero and one. Zero isn't much use here, so I picked my all time favourite, one.
* | Removed unnecessary locking. Simplified. Tidied.mckay1996-11-271-305/+181
| |
* | Correct some typos relating to PC98 server selection.jkh1996-11-272-8/+8
| | | | | | | | Submitted-By: HOSOKAWA Tatsumi <hosokawa@mt.cs.keio.ac.jp>
* | Open devices read-only to test whether they are available. Thisjoerg1996-11-272-6/+6
| | | | | | | | allows to use write-protected tapes...
* | Use LC_TIME=Cache1996-11-261-2/+2
| |
* | Use LC_TIME=Cache1996-11-261-1/+1
| |
* | Use LC_TIME=C instead of LC_TIME=ache1996-11-261-2/+2
| |
* | Don't close f->f_file on F_TTY types on error returns from ttymsg() sincepeter1996-11-261-4/+1
| | | | | | | | it wasn't open in the first place..
* | Make the handling of the /dev/ prefix for tty names more consistant.peter1996-11-261-20/+28
| | | | | | | | | | | | | | | | | | ttymsg() insists on them not being there. Also, since ttymsg() opens the tty "on demand", don't keep an fd open ourselves. This would interfere with HUPCL etc. This should close PR#2103 from <xaa@stack.nl>
* | bin/1974: core dump from amd when phkmalloc is set to AJ.phk1996-11-251-3/+3
| |
OpenPOWER on IntegriCloud