Commit Graph

5520 Commits

Author SHA1 Message Date
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
agc 18e50dcd89 Use syslog(3) to log new users and groups, deletions of users and groups,
and modification of user and group information.

Syslog priority is LOG_INFO, facility is LOG_USER (there is no need to
do this via LOG_AUTH, since the password and group files are world
readable).

Suggested by Hubert Feyrer, after a similar facility in Linux.
2002-08-27 12:38:02 +00:00
agc 051f76f577 Generalise the function which checks if a user is local to work for groups
as well.

Use the new function when modifying a group's information.
2002-08-27 11:25:29 +00:00
itojun dcbc05cef8 warn if multiple addresses are returned from DNS, like traceroute(8) does.
sync w/kame
2002-08-27 00:34:52 +00:00
ad 37fdff48de Re-word a sentence. 2002-08-26 17:05:43 +00:00
ad 7a2589c16e - Must now get some info from the kernel, not the board.
- Don't try to do things that the firmware can't handle.
2002-08-26 17:04:17 +00:00
itojun ea854da625 string manipulation fixes. from openbsd 2002-08-22 07:18:42 +00:00
itojun 9e8e6611e8 suppress output on dump request if -q is specified. sync w/kame 2002-08-21 16:26:12 +00:00
itojun 00975d3872 die if fd_set overrun. explicitly turn off use of IPv4 mapped addr on AF_INET6
socket.
2002-08-20 23:02:44 +00:00
christos 5cefaa7349 PR/17402: Julio Merino: better fine tuning for both x and y. 2002-08-20 16:55:28 +00:00
hubertf dfa4cb8d4d Fix a few comments, and add some others to outline what's missing
in the pkg upgrade case (two TODOs :)
2002-08-16 00:47:39 +00:00
wiz f4813ef403 Drop trailing whitespace. 2002-08-15 03:26:38 +00:00
hubertf 3ddcffd0a9 document -u 2002-08-15 02:34:53 +00:00
pooka a1c35451a3 move curses initialization higher in main to prevent the curses
error function from being called before curses is initialized
2002-08-13 18:21:25 +00:00
pooka d19d334a86 don't report curses initialization failure using curses 2002-08-13 18:16:31 +00:00
itojun e042104e12 document that access control is provided by libwrap. 2002-08-12 18:47:07 +00:00
wiz a05630c34e Minor mdoc nit. 2002-08-12 18:08:13 +00:00
itojun 166e26e413 add libwrap support for lpd (you need to pass all tests to print,
so you will want "+" in hosts.lpd then restrict by hosts.allow/deny).
setsockopt(SO_REUSEPORT) while i'm here.
2002-08-12 18:03:41 +00:00
wiz 330119fdb5 Correct usage. bin/17916 by Brian Ginsbach. 2002-08-12 17:41:32 +00:00
itojun 072e5e6887 it is no use to do SO_DONTROUTE on receive socket. stevesk@openbsd 2002-08-12 02:51:07 +00:00
tron 92cd63769f Make this build after "wi_ieee.h" has been changed. 2002-08-11 12:16:27 +00:00
grant cc65da74ac specify the reason when aborting with "Malformed from address",
suggested by Matt Green.
2002-08-11 07:04:00 +00:00
soren 7ba72383ee Don't omit third argument to open(2).
PR bin/17885 from mjl.
2002-08-09 11:06:43 +00:00
itojun d36c8b47de no need for struct timezone. From: Kevin Steves <kevin@atomicgears.com> 2002-08-09 02:57:09 +00:00
itojun 98e97a1b2b die if fd_set overruns. 2002-08-09 02:43:58 +00:00
itojun 1917442aa9 die if fd_set overruns 2002-08-09 02:40:57 +00:00
itojun 17110be88b die if fd_set overrun. (they're not setuid binary so it is not that critical) 2002-08-09 02:17:26 +00:00
itojun 258ffca8eb one more indentation fix 2002-08-09 02:09:25 +00:00
itojun 93a39a493f more consistent indentation 2002-08-09 02:09:01 +00:00
itojun 31f93ffa75 revoke root priv earlier. check fd_set overrun (and die if overrun).
avoid using runtime-generated printf format string.  from xs@kittenz.org
2002-08-09 02:04:03 +00:00
soren 236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
itojun b77947eeb5 fix an exploitable fd_set overflow in mrinfo(8). drop root priv earlier.
do not use generated printf format string.  from xs@kittenz.org
2002-08-08 00:21:36 +00:00
yamt 13ebe87a2f add some comments. 2002-08-08 00:17:39 +00:00
wiz aea5088350 Set the default password (if not specified) to a single star instead
of PasswordLength stars.
2002-08-07 14:24:52 +00:00
blymn d8747fc408 Incorrect form commands were used for the left and right char handlers. 2002-08-07 11:03:45 +00:00
agc b35288ab0c Add a function is_local_user(), and use it in moduser(), to check that
the user is not found through NIS.

Completes fix of PR 17849, from Grant Beattie (grant@netbsd.org).

Also, don't cast return type of pw_abort(3) to void, as it already is void.
2002-08-06 11:56:26 +00:00
agc 569d79bd84 Remove the /etc/ptmp file via pw_abort(3) if the pw_mkdb(3) call fails.
Addresses part of PR 17849 from Grant Beattie, grant@netbsd.org.
2002-08-06 09:03:55 +00:00
hubertf ac31af18a9 20020804:
* pkg_admin pmatch
 * pkg_add increases resource limits

No need to bump PKGTOOLS_REQD as these are not used anywhere right now!
2002-08-04 21:49:23 +00:00
hubertf ed4b7caed9 Try increasing number of max. open files as high as possible.
Prevents annoying errors when installing biggies like KDE.
2002-08-04 21:47:24 +00:00
hubertf cebf43ab6e Add 'pmatch' keyword: pkg_admin pmatch pattern pkg
Will return true if 'pkg' matches 'pattern', false else.
Provides a command line interface to the pmatch() C function
to be used from shell scripts etc.
2002-08-04 20:50:55 +00:00
hubertf c2c6f0bc61 Don't warn about PKG_PATH being set when -e is given 2002-08-04 19:43:08 +00:00
itojun 4fd217fda9 o Instead of passing "*system*" as the fname to process_crontab()
for the system crontab file, pass a NULL pointer instead.  This
  prevents someone from creating a "*system*" file in the tabs directory
  that acts as an alternate root crontab.

from openbsd
2002-08-03 02:03:00 +00:00
seb 46495173b2 Fix FTP_CMD for Solaris: something went wrong when it was added.
Approved by wiz.
2002-08-02 17:04:55 +00:00
christos c9bffd0130 fix argument order. 2002-08-02 14:06:07 +00:00
simonb 8cd68a2ff9 Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're
using the default BINMODE.
2002-08-02 03:58:09 +00:00
christos 4be5fa5155 no need to include utmp everywhere.
add utmpx support
2002-08-02 02:52:07 +00:00
christos bdb7464e61 oops reversed argument order. 2002-08-02 02:49:27 +00:00
christos 1bf7077704 welcome to the 20th century; use logwtmp{,x}; don't write to /var/adm/wtmp! 2002-08-02 02:47:58 +00:00
christos b166b5b47b use utmpx. 2002-08-02 02:38:15 +00:00
christos d116a0bbd3 add utmpx support; 2002-08-02 02:23:49 +00:00