aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-04 08:21:36 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-04 08:21:36 +0000
commitb77158a934d15d328c824ec222d9ef00e070a0fb (patch)
tree267a6cae663758b4e38c1daf12b8242285e2e02e /loginutils
parent99bd5adf995ee0f83bdda92384137ae810c4c92b (diff)
downloadbusybox-b77158a934d15d328c824ec222d9ef00e070a0fb.tar.gz
Set the default password to md5, patch by Joshua Jackson
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index e8577066a..269e529f3 100644
--- 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 */