artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8daa3ea
)
notify the user about a successful password change; ok millert@
author
robert
<robert@openbsd.org>
Sun, 29 Aug 2021 15:22:24 +0000
(15:22 +0000)
committer
robert
<robert@openbsd.org>
Sun, 29 Aug 2021 15:22:24 +0000
(15:22 +0000)
usr.bin/passwd/local_passwd.c
patch
|
blob
|
history
diff --git
a/usr.bin/passwd/local_passwd.c
b/usr.bin/passwd/local_passwd.c
index
9735b34
..
004a7ff
100644
(file)
--- a/
usr.bin/passwd/local_passwd.c
+++ b/
usr.bin/passwd/local_passwd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: local_passwd.c,v 1.6
0 2021/08/28 06:46:49
robert Exp $ */
+/* $OpenBSD: local_passwd.c,v 1.6
1 2021/08/29 15:22:24
robert Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@
-160,6
+160,8
@@
local_passwd(char *uname, int authenticated)
if (pw_mkdb(uname, pwflags) == -1)
pw_error(NULL, 0, 1);
+ fprintf(stderr, "passwd: password updated successfully\n");
+
return(0);
}