projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99bd5ad
)
Set the default password to md5, patch by Joshua Jackson
author
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 4 Sep 2003 08:21:36 +0000
(08:21 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 4 Sep 2003 08:21:36 +0000
(08:21 -0000)
loginutils/passwd.c
patch
|
blob
|
history
diff --git
a/loginutils/passwd.c
b/loginutils/passwd.c
index e8577066afbede54a6e92e334887963fbf73ef53..269e529f325eccc8886fac3259735651f221ba2a 100644
(file)
--- a/
loginutils/passwd.c
+++ b/
loginutils/passwd.c
@@
-140,7
+140,7
@@
extern int passwd_main(int argc, char **argv)
char *name;
char *myname;
int flag;
- int algo =
0
; /* -a - password algorithm */
+ int algo =
1
; /* -a - password algorithm */
int lflg = 0; /* -l - lock account */
int uflg = 0; /* -u - unlock account */
int dflg = 0; /* -d - delete password */