summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Collapse)Author
2001-10-01Start new sentence on a new line.Mike Pechkin
jakob@ ok
2001-09-29re-enable pidfile(3). ok millert@Jakob Schlyter
2001-09-29zap pidfile from here too, until conflict with kerberosV is fixed ok deraadt@Matthieu Herrb
2001-09-29jakob did not even do a make build, sighTheo de Raadt
2001-09-28add pidfile(3) prototypeJakob Schlyter
2001-09-28multiple calls to pidfile(3) are actually ok, but there are problems if you ↵Jakob Schlyter
change the basename
2001-09-28add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.Jakob Schlyter
2001-09-06oh this is horribleTheo de Raadt
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-08-26Change the second arg to pw_mkdb() from a boolean flag to a set ofTodd C. Miller
bit flags ORed together. Currently the only flags defined are _PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to cause pw_mkdb() to run pwd_mkdb with the options we want. With this change we no longer generate the old V7 passwd file when only the extra fields in master.passwd (or the encrypted password) have changed. There are other programs that could probably use the _PASSWORD_OMITV7 flag; they will be converted at a future date.
2001-08-162nd arg to pw_mkdb()Todd C. Miller
2001-08-16consistently use #include "util.h" not <util.h> since util.h lives in this dir.Todd C. Miller
2001-08-16Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -sTodd C. Miller
flag and crank the library major due to the interface change.
2001-08-12Get rid of extraneous #includes by using stub struct declarations.Todd C. Miller
2001-08-06o) We always close .Bl and .Bd tags;Mike Pechkin
o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
2001-07-13RETURN VALUES, not RETURN VALUETodd C. Miller
2001-07-13Make the list of required #includes match reality.Todd C. Miller
2001-07-11Plug memory leak in pw_copy(); millert@ okAaron Campbell
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-18o move passwd.conf variables into login.confTodd C. Miller
o no longer install passwd.conf (but it is used if it exists and the needed info is not in login.conf) o added passwordtime and minpasswordlen login.conf variables
2001-06-10proto; S@mSmith.netTheo de Raadt
2001-06-03new license from Wietse; permits modification. This code is derived fromTheo de Raadt
logdaemon, so this applies: ftp://ftp.porcupine.org/pub/security/logdaemon_license
2001-02-05please alphaTheo de Raadt
2001-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt
2001-01-07libutil.h -> util.hChristian Weisgerber
2001-01-02Fix a problem introduced by the printf format sweep. Passing a NULLTodd C. Miller
pw_error() is prefectly legal but now we have to check for it explicity (it was handled implicitly before since warn(name) would become warn(NULL)).
2000-11-27MLINK check_expire.3 -> login_check_expire.3Todd C. Miller
2000-11-27first cut at a man page for login_check_expire()Todd C. Miller
2000-11-26login_check_expire(3), a helper function for use with BSD authentication.Todd C. Miller
This lives in libutil because it uses pw_lock(3) and friends. Needs a man page (soon!).
2000-11-26Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.Todd C. Miller
Crank the shlib major number due to the interface change.
2000-11-10shorten, now it fits in -TpsTheo de Raadt
2000-09-17Arguments to .Dt macros should be all-caps.Aaron Campbell
2000-09-17Fix typo in NAME section; loict@bougon.net. While I'm here, capitalify theAaron Campbell
argument to .Dt, and move the BUGS section to the end like most man pages. This is my 1000th commit since joining the OpenBSD dev team.
2000-08-02typoAaron Campbell
2000-08-01close fd for pw_lck on exec, okay deraadt@Niels Provos
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-05-01Document device lookup semantics.Hugh Graham
2000-04-30crank minorTodd C. Miller
2000-04-30Add OPENDEV_BLCKTodd C. Miller
2000-04-30Add OPENDEV_BLCK flag for opening the block devices (the characterTodd C. Miller
device is opened by default). Don't open the file w/o adding a /dev/ prefix unless the file has a '/' in it. This prevents problems where someone says "disklabel sd0" with a file called "sd0" in the cwd. The OPENDEV_DRCT flag has been deprecated as it is the the default behavior and always has been. Add checks for >= MAXPATHLEN and return ENAMETOOLONG in that case.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-28no need to spec the link pathTheo de Raadt
2000-03-06Do not leave `(' characters dangling at the end of lines; instead, use theAaron Campbell
appropriate mdoc macros to handle these cases.
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-01-05update header requirements; bdeTheo de Raadt
1999-12-06say how long the buffer needs to beTheo de Raadt
1999-11-11add man page for login_fbtab()Eric Jackson
1999-09-23Typo fixes.Alex Feldman
1999-09-21crank minor; costa forgotTheo de Raadt