Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 07:32:58 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Paul English <penglish@hydro.washington.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Solaris NIS client of FreeBSD server
Message-ID:  <20020809063258.GA86506@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020808161119.B76341-100000@dynamic.hydro.washington.edu>
References:  <20020808161119.B76341-100000@dynamic.hydro.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 08, 2002 at 04:16:27PM -0700, Paul English wrote:
> Is there any way I can direct FreeBSD to generate the "old style"
> passwords?

In /etc/login.conf, change the default 'passwd_format' entry from
'md5' to 'des', and rebuild the login.conf.db file:

    perl -pi.old -e 's/:passwd_format=md5:/:passwd_format=des:/;' \
        login.conf
    cap_mkdb /etc/login.conf

You'll have to get all your users to change passwords again if they've
got a new style MD5 password hash.

> Or is there any way I can direct Solaris recognize the "new style"
> passwords?

Upgrade to Solaris 9 which understands MD5 password hashes.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809063258.GA86506>