Commit Graph

5822 Commits

Author SHA1 Message Date
davidn
bb77488761 Fix db syncronization when username is changed with -l under usermod.
pw(8) was calling pwd_mkdb -u oldusername instead of newusername, so
the update appears to have failed until the next full pwd_mkdb
syncronization.

PR:		bin/16418
2000-06-06 07:33:00 +00:00
nyan
6a7aa7f3d9 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
brian
2957ed6969 Specify a trigger address of 0.0.0.0 here so that we can sucessfully
negotiate with broken ppp implementations that won't supply an IP
number unless we suggest 0.0.0.0

Noted by:	Andrew Parry <andrew.parry@db.com>
2000-06-05 10:59:43 +00:00
asmodai
3b6210310f Fix typo.
PR:		18845
Submitted by:	Kevin <kevin@ns1.stcp.net>
2000-06-04 16:15:56 +00:00
hoek
a8a49218a7 Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. This
lets unprivileged installworld: almost work first try and always work second.

BINOWN isn't quite right for this, but it's not really worth creating
a MAILOWN for this.
2000-06-04 01:20:58 +00:00
hoek
7e994844ce Use rm -f if the -f (force) option was given. 2000-06-02 04:32:37 +00:00
phk
cd07a5410e Add -y option which doesn't ask for confimation, but still shows progress
PR:		9259
Submitted by:	Clark Gaylord <cgaylord@vt.edu>
2000-06-01 22:27:30 +00:00
hoek
1e9a6591b3 Add a NO_LPR option. Useful for people who want to use LPRng.
PR:	bin/18787 (David Gilbert <dgilbert@velocet.ca>)
2000-05-31 21:45:15 +00:00
jkh
a40964c055 Update the australian NTP server entry.
Submitted by:	Peter Matthews <peter@netwise.com.au>
2000-05-31 21:40:50 +00:00
brian
af615e019d Use mp_CheckAutoloadTimer() rather than mp_StopAutoloadTimer()
when opening or closing an auto link due to the autoload
setting.

Spotted by: David Hedley <david@inty.co.uk>
2000-05-31 15:35:29 +00:00
brian
27d9c9b35a Don't use the umask to chmod local domain server sockets, use
the mask
2000-05-31 09:06:52 +00:00
msmith
9689622e57 /dev/rXXX -> /dev/XXX 2000-05-31 01:04:22 +00:00
msmith
e976c906e5 Don't do anything with /dev/rXXX 2000-05-31 01:03:26 +00:00
msmith
882dea157b Finish the /dev/rXXX removal job. With the libdisk fixes, this should
actually work again.
2000-05-31 00:57:48 +00:00
green
52697bb5ca Fix the ident server up more: use ssize_t/size_t/socklen_t/int all in the
proper places and make the fakeid parsing code a bit less stupid.  Also,
remove an "Rflag" that snuck in there (-R wouldn't be accepted by it,
anyway).
2000-05-30 22:51:05 +00:00
jhb
d4152c7d42 Fix a 64-bit'ism in the handling of the ident service. sysctlbyname() takes
a size_t as its 3rd argument, which is 64-bits on the alpha.  The 'len'
variable used was a int, which is only 32-bits.  Use size_t as the type
for 'len' to work-around this.
2000-05-30 18:32:58 +00:00
iwasaki
3777474658 Add regex(3) matching feature for card line strings.
- This feature will be enabled only if the string is
   enclosed by '/' something like;
	card "SunDisk" "/.*/"
 - Also added matching additional information strings
   followed by version string.  This is for the card which is
   difficult to idendentify by only the manufacturer and
   card version strings matching.
	card "MACNICA" "MIRACLE SCSI" "mPS100" "D.0"

Reviewed by:	imp
Obtained from:	PAO
2000-05-30 15:33:56 +00:00
ghelmer
4fe853adac Adjust the width of the first column in output from "sa -m" to match
the max length of user names.

PR:		bin/10905
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-05-30 13:27:33 +00:00
charnier
2e7f60e876 Typo
Add FreeBSD Id
2000-05-29 20:23:04 +00:00
charnier
647e94937e Make use of .Ic asked by Sheldon. Spelling fix I missed yesterday.
Submitted by:	Sheldon Hearn <sheldonh@uunet.co.za>
2000-05-29 20:21:46 +00:00
charnier
aaa781a609 1000000 usecs to 1 sec conversion 2000-05-28 15:06:45 +00:00
charnier
b112a2cd58 Convert to errx() 2000-05-28 15:05:15 +00:00
charnier
fbe9a39586 Add prototype 2000-05-28 15:04:01 +00:00
charnier
03ecd86625 Use .Fx 2000-05-28 15:03:14 +00:00
charnier
2d96b5343d Do not add progname in err() strings, it will be printed twice 2000-05-28 15:02:26 +00:00
charnier
0d13eca3cc Simplify .Nm. Be consistent with subcommand name 2000-05-28 15:01:12 +00:00
charnier
8325f8844a Put ASCII under .Tn 2000-05-28 14:59:54 +00:00
charnier
72a6d2e2dd Dot not dot terminate in FILES and SEE ALSO sections 2000-05-28 14:59:02 +00:00
charnier
dc8bb722f5 match prototype 2000-05-28 14:57:49 +00:00
charnier
9ea62eb3d9 Do not dot terminate lines in FILES section 2000-05-28 14:56:04 +00:00
brian
8c66999e1d If the fsm header reports a length greater than the packet size,
drop the packet rather than just whinging about it in the log.
If the fsm header has a smaller length, continue to whinge.
2000-05-26 21:11:55 +00:00
brian
61fc03a88c Remove an unused variable 2000-05-26 08:29:11 +00:00
brian
c756c66b29 When we do a `dial'' or `open'' from DATALINK_READY, go to
DATALINK_CARRIER and turn off scripting.

This should fix instances where ``term'' is used followed by ~.
and then ``dial''/``open'' (it currently just sits there looking
at you).

Reported by: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
2000-05-26 08:26:56 +00:00
jake
961b97d434 Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
obrien
06b6467218 Add the 'Z' key to the slice editor. Hitting it toggles the units the
sizes are displayed in.

Ok'ed by:	murray
2000-05-26 00:38:20 +00:00
brian
e959f1027d Fix a topy (if (expr); command;)
Submitted by:	Renaud Waldura <renaud@guppy.evolunet.com>
2000-05-25 16:12:55 +00:00
msmith
95109f69a6 Remove all of the block devices, correct major numbers to point to the
corresponding character devices.  This is (currently) untested, but
should be correct.
2000-05-25 02:48:15 +00:00
msmith
b642e2a419 Teach sysinstall about 'twe' disks. Note that this is currently
untested, and with the current state of flux surrounding the death
of bdevs other things here may need to change.
2000-05-25 02:28:50 +00:00
brian
600aec722a The name /var/log/alias.log is *not* likely to change in the near
future...
2000-05-24 20:56:30 +00:00
darrenr
b0e1948b4d add common.c to SRCS 2000-05-24 20:47:08 +00:00
brian
8fb3702804 Mention what ``enable proxy'' actually does 2000-05-24 13:49:39 +00:00
mpp
2541e16d9e Remove the lpr/runqueue directory and associated files.
These are not used anymore and are outdated and only cause
confusion (I just committed a fix to one of these files within
the last hour, thinking it was still valid).
2000-05-24 13:05:50 +00:00
mpp
58f40f38fd Re-implement my fix from rev 1.6 (same rev for both files being committed)
that was lost during the lite-2 merge.  From the original commit message:

Initialize the group list so that any filter programs that are
run by lpd are not run with root's groups.
2000-05-24 11:38:50 +00:00
brian
54ab76295f Honour `set speed sync'' and `set device !program'' when
used together by creating a SOCK_DGRAM socketpair() between
the processes.

Be polite when closing !program links and send a HUP to the
process.  This makes ssh tunnels over unreliable media (such
as via httptunnel) reconnect properly.
2000-05-24 09:05:58 +00:00
brian
300b5cdddb Mention it in the log file when we HUP a process that
controls a link.
2000-05-24 09:05:45 +00:00
brian
defab84a46 Don't attempt to fputs(NULL, fp) when ``enable dns'' is given and
there's no resolv.conf.
Use a umask of 022 when creating resolv.conf, not 0644 !
2000-05-24 01:00:24 +00:00
jake
d93fbc9916 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
brian
9316f17a65 Always pass packets through libalias when NAT is enabled.
Submitted by: luoqi
Forgotten by: me
2000-05-23 14:55:08 +00:00
ghelmer
c9e7aa307a Catch and report fdopen failures. 2000-05-23 13:46:04 +00:00
ghelmer
bd8a6b7ec3 Catch and report memory allocation failures. 2000-05-23 13:44:00 +00:00