Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 1997 05:20:00 -0500 (CDT)
From:      Gary Clark II <gclarkii@main.gbdata.com>
To:        are@communique.no (Are Bryne)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: WTH!? vipw/pwd_mkdb does not encrypt
Message-ID:  <199706031020.FAA01369@main.gbdata.com>
In-Reply-To: <Pine.BSF.3.96.970530153117.24037H-100000@rune.communique.no> from Are Bryne at "May 30, 97 04:07:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Are Bryne wrote:
> Hi,
> 
> Suddenly, I found out that vipw didn't encrypt password entries in new
> additions.
> I tried using pwd_mkdb by hand, which gives no error messages, but still
> does not do the encryption part.
> I tried using the adduser perl script, which does encrypt. But that uses
> the perl crypt() (which is compiled in statically/isn't a system fnct?).
> 
It is using the system crypt.  Works just fine...

> I've checked the /usr/sbin/pwd_mkdb binary and the /usr/lib/libc.so.3.0,
> which both are unchanged (datewise) since the installation.
> /usr/lib/libcrypt* are linked to /usr/lib/libscrypt*, where the libcrypt*
> are from the installation, and the links somewhat newer.
> 
Yes, this normal unless you have des installed, in which case the crypt
has the ablility to do both MD5 and DES crypts.

> The system is a 2.2.1-RELEASE installed (fresh) from ftp. It's been
> working wonderfully since Mar 25. Custom kernel, but no obvious changes
> the last weeks to account for the problem.
> 
> Any brilliant ideas?
enter no password using vipw and then use passwd to enter the new password..:)

> 
> Thank you in advance...
> 
> Are Bryne
Gary

-- 
Gary Clark II   (N5VMF) |    I speak only for myself and "maybe" my company 
gclarkii@GBData.COM     |          Member of the FreeBSD Doc Team 
  Providing Internet and ISP startups - http://WWW.GBData.com for information
       FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/FAQ.latin1 



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