summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Reword the ``Please remove the FreeBSD fixit CDROM now.'' tobrian2002-02-082-2/+2
| | | | | | ``Please remove the FreeBSD fixit CDROM/DVD now.''. MFC after: 2 weeks
* FreeBSD 4.1 bootstrapping aid (HALT and PDWN are not defined there).ru2002-02-081-2/+8
|
* Sort out the documentation WRT TCP_WRAPPERs, which is now enabled.markm2002-02-061-12/+2
|
* Fix an inconsistency between what FreeBSD NIS and AMD think themarkm2002-02-061-3/+3
| | | | AMD map name should be.
* Enable TCP_WRAPPERs for the NIS server. The protection afforded ismarkm2002-02-061-1/+4
| | | | not massive, but usable.
* Readded the svc_create() and the registering of the local transport,alfred2002-02-061-1/+35
| | | | | | | | | | | | | | | now it is fixed. This should get us a working keyserv again, since it depends on local transport for key exchange. Since we do not have any KEYFILE name hardcoded anymore, set the umask that way that the keyserver socket can be created with with the appropriate permissions. Re-add the accidently removed signal(SIGPIPE, SIG_IGN); to the code which makes sense to avoid SIGPIPE when a disconnect on rpc socket occurs. Submitted by: mbr
* ANSIfy and remove some dead code.des2002-02-0623-368/+227
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-0627-180/+184
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* Do a bit more of prototype cleanup.ru2002-02-063-6/+1
|
* Make cron actually build without defining LOGIN_CAP.bbraun2002-02-061-1/+1
| | | | Reviewed by: jkh
* Fix the breakage in rpc.yppasswd. Readded the svc_create() andalfred2002-02-052-78/+51
| | | | | | | | | | | the registering of the "unix" transport, now it is fixed. Everywhere, rq_cred is taken to look what authentification we have. We can not be sure that transp>xp_verf.oa_flavor is also filled in. This seems to be the same for all sun source. they take the flavor of rq_cred, instead of transp. Submitted by: mbr
* tab in pw_mkdb's arg for style.alfred2002-02-051-1/+1
|
* Constify things to unbreak world.alfred2002-02-052-3/+3
| | | | Submitted by: David Wolfskill <david@catwhisker.org>
* Fix -F with logfiles rotated on time only.roam2002-02-051-1/+1
| | | | | Approved by: silence on -audit MFC after: 1 month
* ANSIfy and constify.des2002-02-054-33/+31
| | | | Sponsored by: DARPA, NAI Labs
* Stop saying that "express" mode is for impatient people. It'sjkh2002-01-302-2/+2
| | | | | | | really for impatient and EXPERT people who know sysinstall backwards and forwards. MFC after: 1 week
* Fix a signal 11 error that occurs if you try to use the 'T' option onmurray2002-01-292-2/+4
| | | | | | an existing FreeBSD partition. Reported by: Brent Cook <busterb@mail.utexas.edu>
* The huge dependency lists of some of our packages has broughtmurray2002-01-291-0/+13
| | | | | | | | | | | | | | | attention to the sub-optimal way that we deal with package dependencies. Traditionally, for each package in an INDEX that the user wants to add, we check all of the dependencies first even if the package is already installed. With some GNOME packages, this can cause package_extract to be called for 50 different dependencies when we know the top level package is already installed. The new behavior is to not check dependencies for packages that are already installed. This fixes a bug where sysinstall gets itself into a CPU intensive loop when trying to install sawfish gnome with the most recent ports/INDEX. There is a bug somewhere in the ports INDEX, but with over 6,400 ports we need to be a little more forgiving here.
* 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
|
OpenPOWER on IntegriCloud