aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Prevent a non-exploitable remote buffer overflow.Kris Kennaway2000-06-081-3/+3
| | | | | | | | | Reported by: twitch <twitch@vicar.org> Submitted by: Guido van Rooij <guido@gvr.org> Reviewed by: security-officer Notes: svn path=/head/; revision=61384
* Fix db syncronization when username is changed with -l under usermod.David Nugent2000-06-061-1/+1
| | | | | | | | | | | pw(8) was calling pwd_mkdb -u oldusername instead of newusername, so the update appears to have failed until the next full pwd_mkdb syncronization. PR: bin/16418 Notes: svn path=/head/; revision=61326
* - Remove obsolete PC-card boot.flp hack. It was for making both PC-cardYoshihiro Takahashi2000-06-0517-38/+310
| | | | | | | | | | | | | | | | | boot.flp and plain boot.flp. - Clean up crunchgen related routine. - Add PC-98 support. TODO: o Documentation o Fix some messages for PC-98 o Decrease the size of fixit.flp to 1.2MB o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html) No response from jkh Notes: svn path=/head/; revision=61277
* Specify a trigger address of 0.0.0.0 here so that we can sucessfullyBrian Somers2000-06-051-1/+1
| | | | | | | | | | negotiate with broken ppp implementations that won't supply an IP number unless we suggest 0.0.0.0 Noted by: Andrew Parry <andrew.parry@db.com> Notes: svn path=/head/; revision=61274
* Fix typo.Jeroen Ruigrok van der Werven2000-06-041-1/+1
| | | | | | | | PR: 18845 Submitted by: Kevin <kevin@ns1.stcp.net> Notes: svn path=/head/; revision=61248
* Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. ThisTim Vanderhoek2000-06-041-4/+4
| | | | | | | | | | lets unprivileged installworld: almost work first try and always work second. BINOWN isn't quite right for this, but it's not really worth creating a MAILOWN for this. Notes: svn path=/head/; revision=61230
* Use `rm -f` if the -f (force) option was given.Tim Vanderhoek2000-06-021-1/+1
| | | | Notes: svn path=/head/; revision=61171
* Add -y option which doesn't ask for confimation, but still shows progressPoul-Henning Kamp2000-06-012-4/+12
| | | | | | | | PR: 9259 Submitted by: Clark Gaylord <cgaylord@vt.edu> Notes: svn path=/head/; revision=61154
* Add a NO_LPR option. Useful for people who want to use LPRng.Tim Vanderhoek2000-05-311-1/+4
| | | | | | | PR: bin/18787 (David Gilbert <dgilbert@velocet.ca>) Notes: svn path=/head/; revision=61139
* Update the australian NTP server entry.Jordan K. Hubbard2000-05-312-2/+2
| | | | | | | Submitted by: Peter Matthews <peter@netwise.com.au> Notes: svn path=/head/; revision=61137
* Use mp_CheckAutoloadTimer() rather than mp_StopAutoloadTimer()Brian Somers2000-05-311-2/+2
| | | | | | | | | | when opening or closing an auto link due to the autoload setting. Spotted by: David Hedley <david@inty.co.uk> Notes: svn path=/head/; revision=61129
* Don't use the umask to chmod local domain server sockets, useBrian Somers2000-05-311-1/+1
| | | | | | | the mask Notes: svn path=/head/; revision=61111
* /dev/rXXX -> /dev/XXXMike Smith2000-05-311-1/+1
| | | | Notes: svn path=/head/; revision=61106
* Don't do anything with /dev/rXXXMike Smith2000-05-311-3/+1
| | | | Notes: svn path=/head/; revision=61105
* Finish the /dev/rXXX removal job. With the libdisk fixes, this shouldMike Smith2000-05-314-8/+8
| | | | | | | actually work again. Notes: svn path=/head/; revision=61102
* Fix the ident server up more: use ssize_t/size_t/socklen_t/int all in theBrian Feldman2000-05-301-23/+22
| | | | | | | | | proper places and make the fakeid parsing code a bit less stupid. Also, remove an "Rflag" that snuck in there (-R wouldn't be accepted by it, anyway). Notes: svn path=/head/; revision=61099
* Fix a 64-bit'ism in the handling of the ident service. sysctlbyname() takesJohn Baldwin2000-05-301-1/+2
| | | | | | | | | a size_t as its 3rd argument, which is 64-bits on the alpha. The 'len' variable used was a int, which is only 32-bits. Use size_t as the type for 'len' to work-around this. Notes: svn path=/head/; revision=61098
* Add regex(3) matching feature for card line strings.Mitsuru IWASAKI2000-05-304-12/+82
| | | | | | | | | | | | | | | | | - This feature will be enabled only if the string is enclosed by '/' something like; card "SunDisk" "/.*/" - Also added matching additional information strings followed by version string. This is for the card which is difficult to idendentify by only the manufacturer and card version strings matching. card "MACNICA" "MIRACLE SCSI" "mPS100" "D.0" Reviewed by: imp Obtained from: PAO Notes: svn path=/head/; revision=61095
* Adjust the width of the first column in output from "sa -m" to matchGuy Helmer2000-05-301-1/+2
| | | | | | | | | | the max length of user names. PR: bin/10905 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Notes: svn path=/head/; revision=61089
* TypoPhilippe Charnier2000-05-291-1/+2
| | | | | | | Add FreeBSD Id Notes: svn path=/head/; revision=61080
* Make use of .Ic asked by Sheldon. Spelling fix I missed yesterday.Philippe Charnier2000-05-291-16/+16
| | | | | | | Submitted by: Sheldon Hearn <sheldonh@uunet.co.za> Notes: svn path=/head/; revision=61079
* 1000000 usecs to 1 sec conversionPhilippe Charnier2000-05-281-1/+1
| | | | Notes: svn path=/head/; revision=61028
* Convert to errx()Philippe Charnier2000-05-281-12/+6
| | | | Notes: svn path=/head/; revision=61027
* Add prototypePhilippe Charnier2000-05-281-0/+1
| | | | Notes: svn path=/head/; revision=61026
* Use .FxPhilippe Charnier2000-05-281-2/+2
| | | | Notes: svn path=/head/; revision=61025
* Do not add progname in err() strings, it will be printed twicePhilippe Charnier2000-05-282-10/+9
| | | | Notes: svn path=/head/; revision=61023
* Simplify .Nm. Be consistent with subcommand namePhilippe Charnier2000-05-281-6/+12
| | | | Notes: svn path=/head/; revision=61022
* Put ASCII under .TnPhilippe Charnier2000-05-281-1/+3
| | | | Notes: svn path=/head/; revision=61021
* Dot not dot terminate in FILES and SEE ALSO sectionsPhilippe Charnier2000-05-281-2/+2
| | | | Notes: svn path=/head/; revision=61020
* match prototypePhilippe Charnier2000-05-282-6/+6
| | | | Notes: svn path=/head/; revision=61019
* Do not dot terminate lines in FILES sectionPhilippe Charnier2000-05-281-1/+1
| | | | Notes: svn path=/head/; revision=61018
* If the fsm header reports a length greater than the packet size,Brian Somers2000-05-261-1/+8
| | | | | | | | drop the packet rather than just whinging about it in the log. If the fsm header has a smaller length, continue to whinge. Notes: svn path=/head/; revision=60957
* Remove an unused variableBrian Somers2000-05-261-1/+1
| | | | Notes: svn path=/head/; revision=60946
* When we do a ``dial'' or ``open'' from DATALINK_READY, go toBrian Somers2000-05-262-7/+8
| | | | | | | | | | | | | DATALINK_CARRIER and turn off scripting. This should fix instances where ``term'' is used followed by ~. and then ``dial''/``open'' (it currently just sits there looking at you). Reported by: Tim Vanderhoek <vanderh@ecf.utoronto.ca> Notes: svn path=/head/; revision=60945
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-2612-32/+32
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Add the 'Z' key to the slice editor. Hitting it toggles the units theDavid E. O'Brien2000-05-262-18/+68
| | | | | | | | | sizes are displayed in. Ok'ed by: murray Notes: svn path=/head/; revision=60937
* Fix a topy (if (expr); command;)Brian Somers2000-05-251-1/+1
| | | | | | | Submitted by: Renaud Waldura <renaud@guppy.evolunet.com> Notes: svn path=/head/; revision=60922
* Remove all of the block devices, correct major numbers to point to theMike Smith2000-05-252-42/+26
| | | | | | | | corresponding character devices. This is (currently) untested, but should be correct. Notes: svn path=/head/; revision=60913
* Teach sysinstall about 'twe' disks. Note that this is currentlyMike Smith2000-05-252-0/+2
| | | | | | | | untested, and with the current state of flux surrounding the death of bdevs other things here may need to change. Notes: svn path=/head/; revision=60911
* The name /var/log/alias.log is *not* likely to change in the nearBrian Somers2000-05-242-2/+0
| | | | | | | future... Notes: svn path=/head/; revision=60888
* add common.c to SRCSDarren Reed2000-05-241-1/+1
| | | | Notes: svn path=/head/; revision=60887
* Mention what ``enable proxy'' actually doesBrian Somers2000-05-242-2/+6
| | | | Notes: svn path=/head/; revision=60878
* Remove the lpr/runqueue directory and associated files.Mike Pritchard2000-05-244-3014/+0
| | | | | | | | | These are not used anymore and are outdated and only cause confusion (I just committed a fix to one of these files within the last hour, thinking it was still valid). Notes: svn path=/head/; revision=60873
* Re-implement my fix from rev 1.6 (same rev for both files being committed)Mike Pritchard2000-05-242-2/+20
| | | | | | | | | | that was lost during the lite-2 merge. From the original commit message: Initialize the group list so that any filter programs that are run by lpd are not run with root's groups. Notes: svn path=/head/; revision=60871
* Honour ``set speed sync'' and ``set device !program'' whenBrian Somers2000-05-241-13/+32
| | | | | | | | | | | | used together by creating a SOCK_DGRAM socketpair() between the processes. Be polite when closing !program links and send a HUP to the process. This makes ssh tunnels over unreliable media (such as via httptunnel) reconnect properly. Notes: svn path=/head/; revision=60864
* Mention it in the log file when we HUP a process thatBrian Somers2000-05-241-0/+2
| | | | | | | controls a link. Notes: svn path=/head/; revision=60863
* Don't attempt to fputs(NULL, fp) when ``enable dns'' is given andBrian Somers2000-05-241-2/+3
| | | | | | | | there's no resolv.conf. Use a umask of 022 when creating resolv.conf, not 0644 ! Notes: svn path=/head/; revision=60839
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-2312-32/+32
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Always pass packets through libalias when NAT is enabled.Brian Somers2000-05-231-14/+2
| | | | | | | | Submitted by: luoqi Forgotten by: me Notes: svn path=/head/; revision=60827
* Catch and report fdopen failures.Guy Helmer2000-05-231-0/+10
| | | | Notes: svn path=/head/; revision=60826