summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Put a complete set of pppd(8) sample configuration files incjc2002-01-291-0/+3
| | | | | | | | | | | | | | | | | | /usr/share/examples/pppd. Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8. Remove the out-of-place pppd(8) configuration files in etc/ppp, ppp.shells.sample and ppp.deny. Make the appropriate changes to the build process, etc/Makefile and etc/mtree/BSD.usr.mtree, so it all works. The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved with a repo copy. Note it in the logs with a forced commit to these two. Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
* Keep similar things together: Check for too long usernamesyar2002-01-281-4/+3
| | | | inside the function that verifies username validity.
* Disallow adding duplicate roots, toors, or other users w/uid 0.yar2002-01-281-1/+1
| | | | | | | Previously, a truth check instead if defined() check erroneously allowed that. PR: bin/8745
* Implement a flexible way of letting some unusual charactersyar2002-01-281-6/+38
| | | | | | | | into usernames: Make the regular expression to check usernames against configurable. PR: bin/22860 bin/31049 Reviewed by: sheldonh
* Remove the newly added -force option because it made adduser(8)yar2002-01-282-29/+2
| | | | | | | less robust to possible errors of the user/admin while adduser(8) had been intended to minimize their possibility. An alternative way of introducing strange symbols into usernames to be committed really soon.
* Merge from NetBSD.joe2002-01-281-21/+56
| | | | | | | | | | | | | | | | | | | | uhub.c: revision 1.37 usb.4: revision 1.30 usb.c: revision 1.38 usb.h: revision 1.40 usb_port.h: revision 1.21 usb_subr.c: revision 1.65 usbdi.h: revision 1.40 Split the attach/detach events up into device, driver and controller attach and detach events. The commit message from NetBSD was: date: 2000/02/02 07:34:00; author: augustss; state: Exp; Change the USB event mechanism to include more information about devices and drivers. Partly from FreeBSD. Also rework usbd to take these new event types into account.
* Update the number of ports available.murray2002-01-261-1/+1
|
* Don't bogusly look for inexact matches because a package contains a '-'steve2002-01-251-3/+2
| | | | | | for packages like sawfish-gnome for instance. Reviewed by: murray, sobomax
* Detect if a udp socket on STDIN_FILENO is connected by callingbrian2002-01-231-7/+16
| | | | getpeername() and don't set PASSIVE mode if it's is.
* Cross reference the NETWORK ADDRESS TRANSLATION section when describingbrian2002-01-231-1/+5
| | | | | | the -nat flag. Requested by: eivind
* The mode of files created by ctm_rmail was always 0600, even if theiedowse2002-01-221-0/+6
| | | | | | | | | umask was less restrictive. This was caused by the use of mkstemp() which internally passes a mode of 0600 to open(). Fix this by explicitly chmod'ing the files to (0666 & ~umask). PR: bin/16119 Submitted by: Sascha Blank <blank@uni-trier.de>
* Add ngctl "write" command.archie2002-01-225-1/+115
| | | | MFC after: 1 week
* Finish cleanup in chroot.c CSRG revision 5.6 by Keith Bosticru2002-01-221-4/+0
| | | | | | (never installed setuid, so don't need to reset the uid). PR: bin/34159
* Correct typos and macro usage.roberto2002-01-213-52/+52
| | | | | | | PR: 33179, 33181, 33295 Submitted by: Norihiro Kumagai <kumagai@attbi.com> Reviewed by: sheldonh (MAINTAINER) MFC after: 2 days
* Add `-h' to the chown command so that symbolic links copied fromiedowse2002-01-201-1/+1
| | | | | | | | the skeleton directory are chown'd to the new user. PR: bin/10601 Submitted by: Adrian Filipi-Martin <adrian2ubergeeks.com@gosub.cstone.net> MFC after: 1 month
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-195-12/+12
| | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
* Pass `-9' flag to gzip(1), so that package is compressed using maximumsobomax2002-01-171-2/+4
| | | | | | compression. Usually this gives gives extra 1-1.5%. MFC after: 1 day
* Fix boundry condition in lock management:alfred2002-01-171-2/+13
| | | | | | | | | | | | | | | | | | | Alfred, I took a look at retry_blockingfilelocklist() and the solution seemed simple enough. Please correct me if I am wrong. It seems said routine doesn't take into account boundary conditions when putting back file_lock entries into the blocked lock-list. Specifically, it fails when the file_lock being put back is the last element in the list, and when it is the only element in the list. I've included a patch below. Basically, it introduces another variable: pfl, which keeps track of the list item before ifl. That way if nfl is NULL, ifl gets inserted after pfl. If pfl is also NULL, then it gets inserted at the head of the list (since it was the only element in the list). Submitted by: Mike Makonnen <mike_makonnen@yahoo.com> Tested by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Document the -x debugging option.ru2002-01-161-4/+25
| | | | | PR: docs/33784 Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
* socket()s first argument should be a protocol family rather than anbrian2002-01-1611-15/+15
| | | | address family.
* socket's first argument is an address family, not a protocol family.brian2002-01-167-10/+10
|
* - Attempt to help declutter kern. sysctl by moving security out fromarr2002-01-161-6/+6
| | | | | | beneath it. Reviewed by: rwatson
* Add pkg_update to the SEE_ALSO manpage of pkg_create.keramida2002-01-151-0/+1
| | | | | PR: docs/33666 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
* Compilers are very picky about matching opeining and closing brackets.jhay2002-01-151-1/+0
|
* Make man page and usage statement match reality submitted by Ruslan,ambrisko2002-01-152-29/+44
| | | | | | | | | | Clean up "n to m" type options with "n-m" and some other improvements suggested by Ruslan. Change -C option to report the transmit key "4" if in "Home" mode. Submitted by: ru Approved by: imp, ru
* Unbreak installation for the CD-ROM and possiblhy other media types.green2002-01-143-5/+18
| | | | | Obtained from: LOMAC project Sponsored by: DARPA, NAI Labs
* yp(4) -> yp(8).ru2002-01-149-10/+10
| | | | PR: docs/30797
* Revert rev 1.316 now that the bootstrap issues with filesystems usingsheldonh2002-01-142-8/+0
| | | | | | | | block sizees larger than 8192 bytes have been resolved, as per the following deltas: rev 1.34 src/sys/boot/i386/boot2/boot2.c rev 1.5 src/sys/boot/alpha/boot1/sys.c
* Remove myself as maintainer, I don't have free time for adduser anymore.wosch2002-01-131-2/+0
|
* mdoc(7) police: shorten AUTHORS section.ru2002-01-101-5/+1
|
* mdoc(7) police: tidy up the markup.ru2002-01-101-50/+79
|
* mdoc(7) police: doh, again I forgot about this XXX.ru2002-01-101-2/+1
|
* mdoc(7) police: tidy up the markup.ru2002-01-101-19/+26
|
* mdoc(7) police: add missing markup bit.ru2002-01-101-1/+1
|
* mdoc(7) police: ispell rev. 1.32.ru2002-01-101-1/+1
|
* mdoc(7) police: tidy up previous delta.ru2002-01-101-3/+9
|
* mdoc(7) police:ru2002-01-101-26/+13
| | | | | | | | | Fixed bugs from previous delta: - Removed duplicate -m and -o options from SYNOPSIS - Added missing -L option to SYNOPSIS - Removed duplicate -M option from DESCRIPTION - Tidy up the markup
* mdoc(7) police: kill WEOL and HSB, tidy up the AUTHORS section.ru2002-01-101-4/+6
|
* Safwish package built on bento is called `sawfish-gnome', so adjust sysinstallsobomax2002-01-092-2/+2
| | | | | | | and print-cdrom-packages.sh accordingly. Revealed by: re MFC after: 1 day
* Initialze a stack variable with NULL to unbreak buildworld with -Wall.deischen2002-01-091-1/+1
| | | | | I don't know about anyone else, but the compiler was always aborting on this stupid warning, and has been doing so for weeks.
* When authenticating a name containing a ``\'', attempt to autenticatebrian2002-01-081-9/+50
| | | | | | | | using the part after the ``\'' if the original name is not found. This allows M$ clients to use domain\user as their authname. Reviewed by: Ian West <ian@niw.com.au>
* According to jhb, the alpha bootstrap code depends on the rootsheldonh2002-01-072-0/+8
| | | | | | | | | filesystem using a block size of 8192. Since this seems unlikely to be fixed soon (specifically in time for 4.5-RELEASE on the RELENG_4 branch), fall back to the old default block and frag sizes of 8192 and 1024 in sysinstall on the alpha. Reported by: jhb
* Add 'R'ecover option that deletes a partition and attemptsdillon2002-01-072-6/+28
| | | | | | | | | | to recover its space into the previous partition. Revert 'D'elete to not attempt to recover any space. Do not auto-create /home as per release engineers decision (though I think this is a mistake). However, all of this code will be replaced later on anyway either with Jordan's stuff or with some other sort of templater, so it isn't a big deal.
* Make the utility name in the usage() diagnostic match the actualmike2002-01-061-1/+1
| | | | | | | utility name. Submitted by: 3d PR: 33496
* Update length more correctly when parsing a cis info field.imp2002-01-061-4/+11
| | | | | | | | | | | | | | | | | | Before, we were using while (*p++ && --len > 0); to do this. However, len doesn't get decremented for the NUL byte, so when we used len later to see if we still have CIS left for some optional fields, we'd run off the end of an array and dump core. Instead, replace it with len -= strlen(p) + 1; p += strlen(p) + 1; which is more correct. It is a little bogus to assume that p points to a valid C string, but only a little. The PC Card SPEC mandates that it does, and we already depend on that with the use of strdup a few lines earlier. Since much of the rest of the cis parsing code isn't hyper retentive about error checking, I'll leave that level of checking for another time and/or another committer :-).
* Write the "msinfo" result to stdout instead of stderrsos2002-01-051-2/+2
|
* Add a new flag '-c' to disable repeated line compression when the outputarchie2002-01-052-2/+13
| | | | | | is a pipe to another program, or, if specified twice, in all cases. PR: bin/32420
* Oops, missed one point where $pwd_mkdb had been used.yar2002-01-041-1/+1
| | | | | Now it should be @pwd_mkdb since we moved to Perl's safe system() not using /bin/sh.
* Correct the path for the stable snapshot server.jkh2002-01-032-4/+4
| | | | Noticed by: "Peter Holm" <p_holm@mail.tele.dk>
* Remove unnecessary machine/bootinfo.h includes.jhb2002-01-032-2/+0
| | | | Submitted by: jake
OpenPOWER on IntegriCloud