diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-03-11 15:46:59 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-03-11 15:46:59 -1000 |
commit | 2a19669fd27954a72a8b008ab1f2f4397e6f4b8f (patch) | |
tree | 3f9a27e72136b87c20452d0ec6cd4203388805d2 /users.py | |
parent | 04d4799e734f9903fb1a00a8eb804da2e95e0a3d (diff) | |
download | anaconda-2a19669fd27954a72a8b008ab1f2f4397e6f4b8f.tar.gz anaconda-2a19669fd27954a72a8b008ab1f2f4397e6f4b8f.tar.xz anaconda-2a19669fd27954a72a8b008ab1f2f4397e6f4b8f.zip |
Make sure default is SHA-512 for libuser.conf.
We write out a libuser.conf file to /tmp for use by the installer and
other programs in rescue mode. Make sure we default to sha512 when
writing out this file.
Diffstat (limited to 'users.py')
-rw-r--r-- | users.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ import os.path import logging log = logging.getLogger("anaconda") -def createLuserConf(instPath, algoname='md5'): +def createLuserConf(instPath, algoname='sha512'): """Writes a libuser.conf for instPath.""" if os.getenv("LIBUSER_CONF") and \ os.access(os.environ["LIBUSER_CONF"], os.R_OK): |