Revision: 8021
http://sourceforge.net/p/astlinux/code/8021
Author: abelbeck
Date: 2016-12-07 13:52:21 +0000 (Wed, 07 Dec 2016)
Log Message:
-----------
busybox, make our passwd wrapper force MD5 shadow passwords, busybox v1.19.4 defaults to DES. Changing passwords from the web interface always created MD5 shadow passwords, but from the CLI just using 'passwd' would previously create DES shadow passwords
Modified Paths:
--------------
branches/1.0/package/busybox/passwd.wrapper
Modified: branches/1.0/package/busybox/passwd.wrapper
===================================================================
--- branches/1.0/package/busybox/passwd.wrapper 2016-12-06 13:45:48 UTC (rev 8020)
+++ branches/1.0/package/busybox/passwd.wrapper 2016-12-07 13:52:21 UTC (rev 8021)
@@ -27,7 +27,7 @@
if [ "$ARG_USER" != "root" ] || \
[ $CHECK_RESULT -ne 0 ]; then
- $BUSYBOX passwd $ARGS
+ $BUSYBOX passwd -a md5 $ARGS
RESULT=$?
if [ "$ARG_USER" = "root" ]; then
echo "Password for Web interface 'admin' is unchanged"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|