summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-17/+27
| | | | | Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a set-user-ID root binary instead of the new method (set-group-ID smmsp).
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-173-9/+52
|
* Add editmap, a new utility which comes with sendmail 8.12 for editing maps ingshapiro2002-02-172-1/+53
| | | | place.
* Merge from NetBSD:joe2002-02-162-43/+56
| | | | | * Add a -d flag to show the device drivers associated with each device. * Update to use the new speed structure entry.
* Unbogotify the comment containing the RCS Id.des2002-02-151-1/+4
|
* Remove unnecessary setjmp.h.maxim2002-02-131-1/+0
| | | | | | | Reviewed by: ru Approved by: ru Obtained from: OpenBSD MFC after: 1 week
* Unlink all log sockets at startup.maxim2002-02-131-0/+1
| | | | | | | | PR: misc/34839 Reviewed by: ru Approved by: ru Obtained from: OpenBSD MFC after: 2 weeks
* * Update (c)dougb2002-02-121-2/+5
| | | | | | | | | * Fix a problem with files that have no CVS $Id's. Thanks to naddy for spotting this one. It wasn't a _huge_ problem since almost all the files we install (except motd) have one, but still, it's a bug. * Add a divider between diff outputs, which is helpful both for logs, and for giving a good visual clue for diffs that are smaller than $LINES. Another helpful suggestion from Gary W. Swearingen, swear@blarg.net.
* * Update (c)dougb2002-02-121-1/+3
| | | | | * Expand on the definition of the -s (strict) option, at the suggestion of Gary W. Swearingen, swear@blarg.net.
* Move makeobjops to /sys so we don't have to deal with the config(8)-likeobrien2002-02-112-975/+0
| | | | versioning.
* Revert rev 1.211, kernel building assistants should live in /sysobrien2002-02-111-1/+0
|
* Remove unused bits.obrien2002-02-111-26/+7
|
* Turn on makeobjops.obrien2002-02-111-0/+1
|
* Replace makeobjops.pl in kernel building.obrien2002-02-112-0/+994
| | | | Submitted by: Diane Bruce <db@db.net>
* Found a single point where rmuser(8) wasn't robust to strangeyar2002-02-111-1/+1
| | | | | characters in a username: where it was inserted into a regexp. Fix it by escaping metacharacters in the name with \Q-\E.
* Added the command name to the synopsis section.nyan2002-02-111-0/+1
| | | | | Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> MFC after: 3 days
* Comment in the man page and warning in stlload (when stlload fails) to makedbaker2002-02-112-0/+4
| | | | | it clear that the recent PCI cards do not require firmware to be loaded, unlike the completely different ISA cards that are branded with the same name.
* Update license.rwatson2002-02-101-1/+3
|
* Teach getextattr to query the EA size and allocate appropriate sizedrwatson2002-02-102-10/+37
| | | | | | buffers before reading the memory. Arguably, the failure modes here are poor, but we can now read >2k EAs. Also, update the copyrights and licenses while I'm here.
* Update userland tools to reflect extattr API changes.rwatson2002-02-102-10/+8
| | | | | | | | Note that getextattr has not yet been updated to dynamically allocate a read buffer, although that can now be done. Obtained from: TrustedBSD Project Sponsored by: NAI Labs
* o No longer mount /proc by default on newly installed systems. Almostrwatson2002-02-102-8/+0
| | | | | | | | | | all facilities that previously relied on /proc have been rewritten to use ptrace(). procfs has presented a substantial security hazard for years, with several user->root compromises in the last few years. Procfs will continue to be available but will require administrator intervention to use. Reviewed by: scottl, jedgar, mike, tmm
* 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>
OpenPOWER on IntegriCloud