Commit Graph

16 Commits

Author SHA1 Message Date
mlelstv 826a26234a Use verrx with a va_list. 2015-04-26 08:56:19 +00:00
mlelstv e0bd604ced size output buffer for strunvis to include the trailing NUL character. 2015-04-26 08:03:05 +00:00
christos 23c075161b add printflike 2011-09-17 14:25:43 +00:00
christos 8017e7237a log to both syslog and stderr. 2011-09-17 01:50:54 +00:00
christos f42cbba55c provide more info on decoding errors. 2009-04-13 03:38:15 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos b22902b65d Use non-blocking I/O when opening the tty. Otherwise we can get stuck... 2004-11-07 07:04:31 +00:00
christos dc7c6aef2a The following changes make ftpd able to remove its own entries. Ftpd
calls pututxline() with ruid = 0, euid = current-ftp-user. This ends
up calling update_utmp:
- if the real uid is root, don't do password or tty ownership checks
- if we cannot open the tty line, assume that it is a daemon that does
  not use ttys and allow it to change a live entry to a dead one if
  indeed it is the same process that created the entry.
2003-02-26 18:16:50 +00:00
christos 5bae7276e8 Make this work finally, by prepending _PATH_DEV to the tty name. 2002-12-18 15:20:47 +00:00
wiz 7d87739e31 Add man page for utmp_update(8), reviewed by Christos. 2002-12-16 22:45:15 +00:00
lukem 99fe9d3e76 minor makefile delint 2002-09-18 06:17:38 +00:00
itojun 2abe377059 defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
soren 642c31b4a3 Remove extraneous \n's in {err,warn}{,x}. 2002-08-09 10:01:53 +00:00
jmcneill 00a0bebf72 Include string.h so this application compiles. 2002-08-05 15:36:51 +00:00
christos aa3ec0641b Add utmp_update 2002-07-28 22:38:50 +00:00