summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Move test for -w flag outside of the code dealing with -D (defaults).davidn2000-07-201-2/+2
| | | | | | | This should cause -w's argument not to be ignored in the usermod case, so it will affect modification of the user's password instead of using the pw.conf (or internal default=no '*') password method. PR: bin/11168
* Allow -g with an empty argument in the -D case. This allows -g "" to setdavidn2000-07-201-5/+8
| | | | | no default group (and thus fall back to user-based groups instead). PR: bin/5717
* - Clarify some of the text in sysinstall in regards to the cryto bits.jhb2000-07-203-16/+14
| | | | | | - Note that we are up to about 3600 ports now rather than about 3000 ports. Submitted by: kris
* Fix another missed case where usermod would not set the "modified" flag:davidn2000-07-201-3/+6
| | | | | | -h - to set no password. But only mark modified if the account is not already locked (i.e. first char of crypt password field is '*'). PR: bin/19999
* Add ftp.freebsd.org Snapshots to the list of servers.obrien2000-07-192-0/+4
|
* * document that 'kbdcontrol -k' needs stdin to be the console.ben2000-07-191-0/+19
| | | | | | | | * add an example of how to switch the console keyboard to a USB keyboard. PR: 18520 Submitted by: n_hibma Reviewed by: sheldonh
* Remove extra #include that was inadvertently added in previous commit.archie2000-07-191-1/+0
|
* Fix breakage caused by ether_aton() prototype change.archie2000-07-191-1/+1
| | | | PR: bin/20033
* Describe the new VERSION and COMPILATIONDATE macros and mention that thebrian2000-07-192-8/+30
| | | | ``ident'' command will expand macros.
* When we're just reading info from the driver, attempt to open the apmimp2000-07-191-1/+4
| | | | device read only so we can suppot a readonly apm device.
* Support link identification from rfc1570brian2000-07-1917-22/+176
| | | | Two new commands are available; ``ident'' and ``sendident''.
* Add the '-l' flag to nghook which loops the received data back.phk2000-07-182-3/+16
|
* Allow the Fix-it functionality to detect that we are on a serial console,obrien2000-07-186-12/+106
| | | | | | | | and DTRT rather than start the fixit shell on a non-existant vty. PR: 19837 Submitted by: Doug Ambrisko <ambrisko@whistle.com> Approved by: JKH
* Correct the usage() message as per rev 1.25 of mtree.8 .sheldonh2000-07-171-1/+1
|
* * Order options in the SYNOPSIS correctly.sheldonh2000-07-171-35/+39
| | | | | | | | | | | * Re-order the list of options in teh DESCRIPTION as per the SYNOPSIS. * Move the description of exit conditions from the DESCRIPTION section to a new DIAGNOSTICS section. * Typo fix: "effect" -> "affect" when used as a verb. * Clear the Nm macro as appropriate. * Typo fix: "consider" -> "considers" for a singular subject. * Use Nx instead of NetBSD.
* And another buffer overflow. Maybe next time I should read the manpage forn_hibma2000-07-161-1/+1
| | | | | | | | strlen. This one only occurs if there is exactly one element on the line without any whitespace. This is however never a valid line, so not a big chance that this would ever cause any problems.
* Fix getopt string I forgetache2000-07-161-1/+1
|
* Revert back to original mtree default behaviour to not follow symlinks, to beache2000-07-162-10/+11
| | | | | | | | compatible with other *BSD camp. Add -L option to follow symlinks, so remove -P option which is now default. The next step will be to add -L to building process. Asked-by: bde
* Catch up to the fact that we now have tcsh in the tree.davidn2000-07-161-1/+2
|
* Admin some amount of responsibility for the current state of lpr/lpd.wollman2000-07-151-0/+3
| | | | | Also add Garance Drosihn who has been doing a great deal of work on print systems.
* Add documentation on the new logstr command.imp2000-07-141-0/+17
|
* Add new keyword "logstr". By default, we now use syslog outselves toimp2000-07-143-9/+21
| | | | | | | | | | | | | | | | log insert/remove events using the logstr, if specified for that card, or the manufacturer + version strings from the cis if not. This eliminates the need to have logger in the pccard.conf file which makes it easier to move pcardd to /sbin later if we need to. This also reduces the pccard.conf file size from 53k to 28k, which will help the install disk a little. Also, minor cleanup of free usage (if (x != NULL) free(x); is identical to free(x); for all versions of C that we care about). Reviewed by: iwasaki (who proposed the logstr keyword). Documentation and fixes to pccard.conf to follow.
* Add IPv6 scoped address support.ume2000-07-142-1/+6
| | | | | | | | It enables us to control link-local connections by interface like this: ALL : [fe80::%ed0]/10 : allow ALL : [fe80::]/10 : deny
* Add ftp4.tw.FreeBSD.org.jhb2000-07-142-0/+4
| | | | Submitted by: nik
* Fix the NAME section. Order the options which do not take arguments,sheldonh2000-07-141-1/+13
| | | | | add the -P option (introduced in rev 1.22), and use mdoc word keeps (Bk -words / Ek) for those options which do take arguments.
* Use -P instead of -S to specify that no symlinks should be followed.joe2000-07-142-8/+8
| | | | | | | There's no reason to make it different from cp(1), chmod(1), chown(1) etc. Requested by: sheldonh
* IPv6 support.ume2000-07-1414-101/+260
| | | | | | | | | | | IPv6 configuration is only done by rtsol. Does someone really need manual configuration? :-) You can specify IPv6 DNS server as well. We have only one server ftp7.jp.freebsd.org that speaks IPv6 in this time. ftp7.jp speaks IPv4 as well and also listed as Japan #7. Approved by: jkh
* Ugh. Back out local changes that crept in with my last commit. :(jhb2000-07-144-4/+0
|
* MFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap serverjhb2000-07-146-6/+10
| | | | now, and replace the releng3 3.0 snap entry with releng4.
* use _PATH_DEValfred2000-07-141-1/+1
|
* Oops. I originally extended the bcopy to 8 characters to include thepeter2000-07-141-1/+1
| | | | | | original \0 on the terminating string, however I changed my mind to make it more obvious that the termination was being taken care of and explicitly added the nul terminator. I forgot to reset the bcopy length.
* Correct an additional off-by-one bug and buffer overflow. A malloc()peter2000-07-141-2/+3
| | | | | | | was being made one byte too short, and the string assembled in it was not null terminated. The string was passed to regcomp() so it never matched anything in /etc/usbd.conf. This is the cause of usbd not working for the last few days.. The new malloc.conf default of AJ triggered this.
* Support propogation of file flags when building a homedir from thedavidn2000-07-131-6/+17
| | | | | | | skeleton directory. sprintf() -> snprintf() cleanup. PR: bin/8756 Submitted by: "Nickolay N. Dudorov" <nnd@itfs.nsk.su>
* - When we save the existing MBR to a file, check to see if the MBR we arejhb2000-07-131-83/+138
| | | | | | | | | | saving is boot0. If it is, use its version number so that we can grab all of boot0 (1024 bytes with version 1.1 for example) when we save it to a file via the 'f' option. Otherwise, we just save the first sector. - Cleanup this code a bit by splitting some functionality out into separate functions. Suggested by: Patrick Bihan-Faou <patrick@mindstep.com> (1)
* Add a new command, 'cdid', to calculate and display a serial numberjoe2000-07-132-0/+99
| | | | | | for a cd, using the algorithm that the cddb database uses. Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
* Allow symlinks to be created if they appear in the mtree specification.joe2000-07-132-5/+20
| | | | PR: bin/14171
* Added a flag (-S) to mtree to specify that symlinks shouldn't bejoe2000-07-133-1/+9
| | | | | | followed. This allows type=link matches to work properly and match the link itself, instead of the file/directory that the link is pointing to.
* Fix the ^D -> core dump problem properly. ^D == "quit" again.mckay2000-07-131-3/+4
|
* Permit multiple ``allow user'' lines in any given sectionbrian2000-07-123-8/+19
| | | | | This avoids line length limits when large numbers of users are allowed access to ppp.
* Make builtin ident service work if the request arrives in more thandwmalone2000-07-121-15/+38
| | | | | | | | | | | | one packet. Also check that the whole request has been recieved before processing it. The patch isn't the exact one from the PR, but a slight varient suggested by Brian. PR: 16086 Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Reviewed by: green
* Update boot0cfg to handle the new boot0:jhb2000-07-121-20/+52
| | | | | | | | | - Allow for boot0 to be more than one sector long. However, ensure that it its length is a multiple of the sector length. - Change the signatures used to determine a valid boot0 as some of the signature code changed. - Use the old signature to detect version 1.0 of boot0, otherwise read the version number from boot0 itself.
* - Support MBR boot loaders that are larger than one sector size.jhb2000-07-126-54/+66
| | | | - Axe the 1024 cylinder checks as they are no longer relevant.
* Correct ``set filter'' usagebrian2000-07-122-4/+8
| | | | Spotted by: sheldonh
* Fix a rather nasty latency problem that occurs with single tcp sessionsbrian2000-07-121-11/+17
| | | | thorough an MP setup with only a single link.
* o Other half of Sheldon's patch to fix initattr arguments, mistakenlyrwatson2000-07-121-0/+3
| | | | | | forgotten due to minimal sleep. Thanks! Submitted by: sheldonh
* o update extattrctl man page to reflect obligatory arguments to initattrrwatson2000-07-121-2/+2
| | | | | | -r and -w arguments Submitted by: sheldonh
* Detect and handle comment lines in master.passwd files.davidn2000-07-121-0/+10
| | | | PR: bin/19664
* o Correct getopt() argument so that initattr -r and -w take an additionalrwatson2000-07-121-1/+1
| | | | | | | | | argument via optarg. This corrects a segfault when initattr is invoked with either of these two arguments. Not sure how this got broken given that in the original patches it was fine -- presumably a merging mistake. Obtained from: TrustedBSD Project
* Don't call syslog() without a format string.kris2000-07-121-1/+1
|
* Don't call syslog() without a format string.kris2000-07-125-8/+8
|
OpenPOWER on IntegriCloud