diff options
-rw-r--r-- | usr.bin/chpass/chpass.1 | 4 | ||||
-rw-r--r-- | usr.bin/chpass/chpass.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/chpass/chpass.1 b/usr.bin/chpass/chpass.1 index a843318a005..d736d6316f0 100644 --- a/usr.bin/chpass/chpass.1 +++ b/usr.bin/chpass/chpass.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chpass.1,v 1.6 1998/03/24 05:42:00 deraadt Exp $ +.\" $OpenBSD: chpass.1,v 1.7 1998/05/29 16:37:48 millert Exp $ .\" $NetBSD: chpass.1,v 1.7 1996/05/15 21:50:40 jtc Exp $ .\" .\" Copyright (c) 1988, 1990, 1993 @@ -210,7 +210,7 @@ The user database A Version 7 format password file .It Pa /etc/ptmp Lock file for the passwd database -.It Pa /etc/pw.XXXXXX +.It Pa /var/tmp/pw.XXXXXXXX Temporary copy of the user passwd information .It Pa /etc/shells The list of approved shells diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c index 8c77a86172c..7c61529880d 100644 --- a/usr.bin/chpass/chpass.c +++ b/usr.bin/chpass/chpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chpass.c,v 1.10 1998/03/30 06:59:28 deraadt Exp $ */ +/* $OpenBSD: chpass.c,v 1.11 1998/05/29 16:37:51 millert Exp $ */ /* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: chpass.c,v 1.10 1998/03/30 06:59:28 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: chpass.c,v 1.11 1998/05/29 16:37:51 millert Exp $"; #endif #endif /* not lint */ @@ -90,7 +90,7 @@ main(argc, argv) enum { NEWSH, LOADENTRY, EDITENTRY } op; struct passwd *pw, lpw; int ch, pfd, tfd, dfd; - char *arg, tempname[] = "/etc/pw.XXXXXX"; + char *arg, tempname[] = __CONCAT(_PATH_VARTMP,"pw.XXXXXXXX"); #ifdef YP use_yp = _yp_check(NULL); |