summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* run pwd_mkdb with new check option [-c] to verify correctnesswosch1996-08-201-2/+2
| | | | of /etc/master.passwd
* Fix up pathpst1996-08-201-2/+2
|
* Grab tcpdump out of src/contrib/tcpdumppst1996-08-1952-16670/+20
|
* New option: [-c]wosch1996-08-192-3/+17
| | | | | Check if the password file is in the correct format. Do not change, add, or remove any files.
* Fix a bug, it was returning a pointer to a variable on the stack, insteadpeter1996-08-191-2/+2
| | | | of the specially strdup()'ed version.
* Define ETHERS_SERVICE, since our OS provides it. Otherwise, youpeter1996-08-191-2/+2
| | | | | can't do a "tcpdump 'gateway foo'" unless it's in /etc/ethers - it wasn't reading the NIS tables.
* ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmtwosch1996-08-181-2/+4
| | | | | | Only ``make distribution'' in src/etc/Makefile overrides things in /etc Pointed out by: joerg
* Fixes from NetBSD:peter1996-08-172-4/+40
| | | | | | | | - 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.
* New optionswosch1996-08-162-20/+46
| | | | | | | | | | -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.
* Remove -p from SYNOPSISache1996-08-161-1/+1
|
* Remove -p option from getopt string, all corresponding codeache1996-08-161-1/+1
| | | | already deleted
* rpc.rstatd -> rpc.lockd typopeter1996-08-161-1/+1
| | | | Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
* Do not add an user to a group if the group is also the login group.wosch1996-08-141-11/+14
|
* chown(8) and chgrp(1) directories once onlyadam1996-08-141-5/+4
|
* Do not send "welcome mail" as default. If you want this featurewosch1996-08-131-4/+8
| | | | | | you can still enable it. Better, use mail client like elm or pine. Requested by: Jordan
* Fix last commit (and PR bin/1489) by creating both sockets beforefenner1996-08-131-4/+7
| | | | setuid().
* Fix a few minor type problems that turned up with gcc-2.7.2peter1996-08-133-5/+6
|
* Add RTF_STATIC to default route's flags in the hope that routed will nopeter1996-08-131-2/+2
| | | | longer remove it while it is running.
* Add RTF_STATIC to flags when creating a default route. Hopefully thispeter1996-08-131-2/+2
| | | | will stop routed from removing it if it is also running.
* Previously, if the dial script had any problems, pppd would simplypst1996-08-114-5/+29
| | | | | | | | | | 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.
* Reviewed by: variousjulian1996-08-092-7/+27
| | | | | | | | | 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
* was missing @adam1996-08-091-2/+2
|
* Drop setuid ASAP, to minimize code executed as root.fenner1996-08-091-3/+18
| | | | Reviewed by: pst
* Make broadcast clients work.phk1996-08-061-1/+1
|
* Gratuitous whitespace change so that I can commit the source of the recentpst1996-08-051-3/+1
| | | | | | buffer overflow patch. Reviewed by: pst Submitted by: Dave Andersen <angio@aros.net>
* Fix up some more buffer overflow problems.pst1996-08-052-5/+9
|
* Fix a couple of bogons. The first two were brought to my attentionwpaul1996-08-041-9/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Enhance crunchgens understanding of our new /usr/obj/`pwd` strategy.phk1996-08-041-6/+15
|
* Try to make screen update more efficient (less flickering) by morejkh1996-08-0321-87/+80
| | | | judicious use of dialog_clear_norefresh().
* Make the same fix to the disk partition editor screen.jkh1996-08-032-12/+8
|
* Fix an embarassing bogon in the key input code. I'll roll another snapjkh1996-08-032-12/+8
| | | | boot floppy for this one..
* Use the defines and macros defined in /sys/pccard/cis.h to make the codenate1996-08-011-24/+25
| | | | | | easier to understand. LOTS more work needed in this area. Inspired by: The Nomad code
* Whoops! VTYs return zero values for TIOCGSIZE! Work around this.jkh1996-08-012-4/+4
|
* Don't query DNS if we haven't got it configured.jkh1996-08-011-12/+16
|
* Handle SIGPIPE in a couple of crucial places.jkh1996-08-012-8/+26
|
* Put verbosity in the right place.jkh1996-08-011-3/+3
|
* Purely cosmetic tweaks.jkh1996-08-012-5/+5
|
* Clean up the results from getch().jkh1996-08-014-8/+8
|
* Close PR#1542. Don't just assume 24 lines, get the tty size.jkh1996-08-0112-32/+56
| | | | | | | 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.
* Make -force work for pkg_add.jkh1996-07-311-2/+2
|
* Add a required save/restorejkh1996-07-312-2/+6
|
* Try again.jkh1996-07-312-4/+4
|
* Don't munge keystrokes.jkh1996-07-318-40/+54
|
* Prevent Geometry warning messages when the disk is already "dedicated"jkh1996-07-312-22/+12
|
* More minor tweaks (that I'm trying to get into the SNAP).jkh1996-07-312-30/+30
|
* Detect which partitions have already been created with `auto' so as not to ↵jkh1996-07-3110-196/+244
| | | | | | | | create them twice. Various cosmetic tweaks.
* Add MD5 checksums to packing list for all files during pkg_create and usejkh1996-07-3012-74/+105
| | | | | | | | | 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.
* "appeared in 4.2BSD.." changed to "appeared in 4.2BSD."alex1996-07-271-1/+1
|
* Fix the services.byname target so that it creates search keys for thepeter1996-07-251-4/+6
| | | | | | | aliases of the "official" names as well, because now that getportbyname() does a yp match, it no longer found the entries under the alias. This broke rsh(1), because it looks up "shell/tcp" while the official name in /etc/services is "cmd/tcp".
* Add some explanation on TMPDIR.phk1996-07-241-1/+11
| | | | Submitted by: Chuck Robey <chuckr@Glue.umd.edu>
OpenPOWER on IntegriCloud