Re: Password encoding

From: Olafur Osvaldsson (oli@isnic.is)
Date: 09/26/02


Date: Thu, 26 Sep 2002 09:55:50 +0000
From: Olafur Osvaldsson <oli@isnic.is>
To: Dmitry Agafonov <aga@rsm.ru>

Dmitry,
You should be able to set it in /etc/auth.conf, but that doesn't work for me.

You can instead run crypt_set_format("md5") to set the default for your prog
to md5 or blf for blowfish.

You could also make sure that your salts start with $<digit>$ wich would then
set the algorithm used in encryption, more info on this in the crypt(3) manpage.

/Oli

On Thu, 26 Sep 2002, Dmitry Agafonov wrote:

> Ok, how about more common question. How do I ask system crypt() to use MD5
> by default? /etc/make.conf or such?
>
> --
> Dmitry
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

-- 
Olafur Osvaldsson
Systems Administrator
Internet a Islandi hf.
Tel:   +354 525-5291
Email: oli@isnic.is
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message


Relevant Pages

  • Re: encrypting plaintext to blf hash
    ... > from a shell script, then offers to encrypt it to either des, md5, or ... > blowfish, blf, formats. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Password encoding
    ... that's nice: I haven't knew about that.Since I do like Blowfish I thought that there are only 2 possibilities in Free: crypto or md5. ... _without my knowledge_ passwords for new accounts were 8 characters long. ... [%% If you dance with devil %%] ...
    (FreeBSD-Security)
  • Re: Signatur prüfen
    ... Algorithmen (MD5, Blowfish) kannst du die dortigen Beispiele ...
    (microsoft.public.de.access)
  • MD5 > Blowfish
    ... I saw that the encryption can be changed by editing the /etc/login.conf and ... be done to change from md5 to blowfish. ... Do I just edit the login.conf? ...
    (FreeBSD-Security)
  • SUMMARY: Solaris 9 /etc/shadow file, MD5 problem.
    ... was encrypted using a newer encryption algorithm (most likely ... recent patch had "broken" MD5. ... only use the standard UNIX DES encryption by removing MD5, ... Blowfish, and Sun MD5 from CRYPT_ALGORITHMS_ALLOW in policy.conf. ...
    (SunManagers)