Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3-0]: src/usr.bin/passwd Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/91fc0ea96e15
branches: netbsd-3-0
changeset: 579412:91fc0ea96e15
user: ghen <ghen%NetBSD.org@localhost>
date: Tue May 08 09:39:37 2007 +0000
description:
Pull up following revision(s) (requested by jnemeth in ticket #1776):
usr.bin/passwd/pam_passwd.c: revision 1.4
Display a message indicating who's password is being changed, as per
Jeremy Reed on tech-userlevel.
diffstat:
usr.bin/passwd/pam_passwd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 0497578b6ccb -r 91fc0ea96e15 usr.bin/passwd/pam_passwd.c
--- a/usr.bin/passwd/pam_passwd.c Thu Apr 26 06:56:40 2007 +0000
+++ b/usr.bin/passwd/pam_passwd.c Tue May 08 09:39:37 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pam_passwd.c,v 1.3 2005/02/26 07:19:25 thorpej Exp $ */
+/* $NetBSD: pam_passwd.c,v 1.3.4.1 2007/05/08 09:39:37 ghen Exp $ */
/*-
* Copyright (c) 2002 Networks Associates Technologies, Inc.
@@ -38,7 +38,7 @@
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/usr.bin/passwd/passwd.c,v 1.23 2003/04/18 21:27:09 nectar Exp $");
#else
-__RCSID("$NetBSD: pam_passwd.c,v 1.3 2005/02/26 07:19:25 thorpej Exp $");
+__RCSID("$NetBSD: pam_passwd.c,v 1.3.4.1 2007/05/08 09:39:37 ghen Exp $");
#endif
#include <sys/param.h>
@@ -98,6 +98,8 @@
/* NOTREACHED */
}
+ (void)printf("Changing password for %s.\n", username);
+
/* initialize PAM -- always use the program name "passwd" */
pam_err = pam_start("passwd", username, &pamc, &pamh);
pam_check("unable to start PAM session");
Home |
Main Index |
Thread Index |
Old Index