summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Several improvements to the `fixit' configuration:joerg1996-11-092-12/+18
| | | | | | | | | | | . Don't gzip the crunched binary by now; it just fits, and execution is a lot faster this way (it's truly demand-paged again). . Add more(1), ft(8), protocols(5), a stripped down services(5). . Improve the .profile, and make sysinstall actually use it again. Still no go for a 4 MB configuration though. :-(
* Implement a -L option that dumps the compiled keymap (as C code) tojoerg1996-11-092-6/+36
| | | | stdout. The next commit to sysinstall will use this...
* If mounting the fixit floppy fails in the first place, warn the userjoerg1996-11-092-2/+10
| | | | | | | | | | | | | but make a second attempt using MNT_FORCE, just in case it has been unclean from a previous crash. That's dangerous, but far better than keeping the despaired user standing in the rain... (Experienced admins can still fsck it then, and remount. Others will either totally crash, or incidentally succeed, without much further help possible...) Btw., mount(2) misses the description of MNT_FORCE for the mount syscall.
* 1. Eliminate the sendmail.cw bogon again. Peter fixed it correctly.jkh1996-11-084-12/+6
| | | | 2. Preload the ldconfig cache before calling X setup.
* make the /etc/sendmail.cw file optional by default.peter1996-11-082-2/+4
| | | | | | Definately should go into 2.2.. Requested by: lots of people
* More cosmetic tweaks, get the prefixes adjusted properly to XFree86 3.2'sjkh1996-11-074-55/+52
| | | | new packaging scheme.
* Make sure current_chunk is 0 each time we enter the editor.jkh1996-11-072-2/+4
|
* This warning is too annoying now. Kill it.jkh1996-11-072-12/+4
|
* Install an evil work-around for /etc/sendmail.cwjkh1996-11-072-2/+10
| | | | [same as from 2.2]
* Complete switch-over to XF86 3.2.jkh1996-11-074-10/+10
|
* Properly clear FTP site selection info when network init fails; thejkh1996-11-071-1/+2
| | | | site name may have been wrong, or need to be specified by IP.
* Joerg's changes to add screen font and screenmap setting.jkh1996-11-0710-33/+210
| | | | | | Some changes of my own to make screen saver configuration a little more sane, and also make it easier to get to the keyboard/screen setup from the options menu.
* The standard .mc files shipped with the new sendmail have an extra divert(0)pst1996-11-062-1/+3
| | | | | | at the top. Make our freebsd-supplied files match the standard files. Apply-to: 2.2
* when you try to run iostat is fails with invalid dk_ndrive 0phk1996-11-061-1/+1
| | | | | Reviewed by: phk Submitted by: John-Mark Gurney <jmg@nike.efn.org>
* Update to XFree86 3.2jkh1996-11-064-245/+332
|
* Update the man page: the Philips CDD2000 is now supported.joerg1996-11-061-4/+9
| | | | 2.2 candidate, iff the driver update has been merged.
* Remove a bogon from version 1.69. Just because we say "use all disk"phk1996-11-052-12/+2
| | | | doesn't mean that our geometry can be flushed down the drain.
* export PATH variablewosch1996-11-041-2/+13
|
* add PATH variable, use itwosch1996-11-041-5/+6
|
* export PATH variablewosch1996-11-041-2/+2
|
* Placate Joerg some more by making screen savers get a reasonable defaultjkh1996-11-046-16/+36
| | | | | timeout. 2.2-RELEASE candidate, like all the work here in release/sysinstall.
* manpages for rmgroup(8) and addgroup(8)wosch1996-11-043-2/+142
|
* Fixed recently-introduced bugs:bde1996-11-041-34/+32
| | | | | | | | | - `slstat' with no args dumped core. - `slstat unit' always failed with a "sysctl linkspecific" error. - the usage message was nonstandard. Fixed old bugs: - missing prototypes, Wformat errors, and other lint.
* The interface number hasn't been a _single_ digit since prehistoric times.bde1996-11-041-3/+5
|
* Use macros for package names so it's easier to update them in onejkh1996-11-0411-85/+123
| | | | | | | place (sysinstall.h) when packages change rev. Change the way that the routing daemon is configured entirely, to placate Joerg. Also auto-load gated if it's specified, while we're at it.
* Make it clearer that DNS has succeeded for your host choice.jkh1996-11-041-3/+6
|
* typoadam1996-11-031-1/+1
|
* Fix a bogus decent into the network setup screen when runningjkh1996-11-022-8/+5
| | | | | | | multi-user. Don't clear media on dist failure - this was one of those "seemed like a good idea at the time" sorts of features.
* Fix minor buffer problems:imp1996-11-011-2/+3
| | | | | | | | Off by one in verify allowed one to march one byte off the end of wd.wd_hostname if wd.wd_hostname had no NUL characters in it. strncpy of myname into mywd used the source buffer's length, rather than the dest.
* Fix incorrect length argument to memset() function. Closes PR#1937.alex1996-11-011-2/+2
| | | | Submitted by: Archie Cobbs <archie@whistle.com>
* Improve the sample login script now that our sh(1) understands -p.joerg1996-10-312-6/+6
| | | | Closes PR # docs/1383: ppp(8) man page suggests using shell script...
* Fix base64->8bit conversionache1996-10-311-99/+82
| | | | Submitted by: Eric Allman <eric@sendmail.org>
* Oops, don't suppress initial output header (from previous commit),ache1996-10-311-6/+10
| | | | it is superfluous
* 1) print only errors if -v not given, it allows non-verboseache1996-10-302-8/+18
| | | | | | crontab runnig 2) use full path /usr/bin/mail for security reasons 3) Use time_t instead of long for time (in one place)
* rmgroup - delete a Unix groupwosch1996-10-301-0/+29
| | | | usage: rmgroup group
* addgroup - add a group or add users to a groupwosch1996-10-291-0/+220
| | | | addgroup [-g gid] group [user[,user,...]]
* Correct indentation of multi-LUN device info. (Slightly different fixse1996-10-291-2/+2
| | | | | | than suggested by Bruce Evans). Submitted by: bde
* Integrate our changes from bin/rmail. Mainly it causes immediatepeter1996-10-292-1/+16
| | | | | | delivery rather than queueing it and forgetting it. (and some -Wall fixes where gcc is too dumb to see it's a "cant happen")
* Convert the DONT_FSYNC compile time option to a runtime option (likepeter1996-10-293-21/+27
| | | | | nobiff). The options to turn these on are specified in the LOCAL_MAILER_ARGS define the the sendmail.mc that you build from.
* Merge in our changes from src/libexec/mail.local. This version doesn'tpeter1996-10-293-23/+43
| | | | | | violate disk quotas, has more robust locking, is still being developed, etc. The main changes merged in were the ability to not fsync() the mailbox, not do biff/comsat broadcasts, man page fixes.
* Do not modify a malloc()ed pointer; instead, use memmove().joerg1996-10-281-2/+3
| | | | Detected by: phkmalloc - AJ :)
* Back out the entire change from rev 1.11 of syslogd.c. It was bogus.joerg1996-10-282-53/+8
| | | | Correct the man page to reflect the new reality.
* Fix a typo, putput --> output.alex1996-10-271-2/+2
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* lpc/cmds.c:imp1996-10-2710-38/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From NetBSD via OpenBSD to fix NetBSD PR #506 More descriptive message for printer status (OpenBSD: 1.2) Various warnings cleaned up (OpenBSD: 1.4) lpc/lpc.c: Various warnings cleaned up (OpenBSD: 1.3) lpd/lpd.c: Remove trailing blank lines (OpenBSD: 1.2) Potential umask problem with creating /dev/printer (OpenBSD: 1.4 and 1.5) Ftp bounce attack (untested on FreeBSD) (OpenBSD: 1.6, 1.8, 1.9) Fencepost in strncpy (OpenBSD: 1.6) lpd/printjob.c: Fix from freebsd for waiting for an exiting filter, that appears not in the FreeBSD CVS tree. (OpenBSD: 1.6) lpd/recvjob.c: Buffer overflow protection: use strncpy rather than strcpy. (OpenBSD: 1.3) lpr/lpr.c: NetBSD change of return type for main() (OpenBSD: 1.2) Restrict time running as root (OpenBSD: 1.7) Use getcwd rather than getwd (from NetBSD) Use snprintf rather than sprintf (OpenBSD: 1.8) Minor tweak to end of loop and buffer overflow sanity. card() overflow already in FreeBSD (OpenBSD: 1.9) lptest/lptest.c: void -> int return type of main, from NetBSD via OpenBSD (OpenBSD: 1.2) pac/pac.c: void -> int return type of main, from NetBSD via OpenBSD (OpenBSD: 1.3) Obtained from: OpenBSD
* Fix transcription error I introduced in last patch. This created aimp1996-10-261-2/+2
| | | | | | fencepost error that would run one off the end of the buffer. Noticed by: Bruce Evans
* Fix a problem where the command line could be used to overflow a stackimp1996-10-251-2/+2
| | | | | | | | buffer which could be made to lead to a root shell. This patch is OpenBSD's solution to the problem, and will silently truncate the output rather than overflow the buffer. Obtained from: OpenBSD
* Made this work for non-root again. The security fixes in rev.1.11bde1996-10-251-10/+15
| | | | | were equivalent to disabling its setgid'ness, since the default kernel was not distinguished from a user-specified kernel.
* Add support for handling the YP_SECURE and YP_INTERDOMAIN keys fromwpaul1996-10-245-20/+164
| | | | | | | | | | | | any maps that may have them. If the YP_SECURE key is present, ypserv will only allow access to the map from clients on reserved ports. If the YP_INTERDOMAIN key is present, the server will do DNS lookups for hostnames that it can't find in hosts.byname or hosts.byaddr. This is the same as the -d flag (which is retained for backwards compatibility) but it can be set on a per-map/per-domain basis. Also modified /var/yp/Makefile to add YP_INTERDOMAIN to the hosts.* maps and YP_SECURE to master.passwd.* maps by default.
* Add -b and -s flags for adding YP_INTERDOMAIN and YP_SECURE entries towpaul1996-10-242-11/+67
| | | | | | | | | | | | | map databases. Also document said flags in the man page. Adding YP_INTERDOMAIN to a map causes ypserv(8) to do a DNS lookup when a yp_match() on the map fails. (This affects only the hosts.by* maps; for all other maps it's ignored.) The YP_SECURE entry causes ypserv(8) to restrict access to the map so that only clients making requests from reserved ports can get at it. Our ypserv doesn't currently support these features so they're silently ignored for the moment, but this will change. :)
* Untangle NEWDB/NDBM options.peter1996-10-243-5/+10
| | | | Enable praliases.c to not use NDBM.
OpenPOWER on IntegriCloud