[ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem
Tue, 20 Mar 2001 10:45:05 -0800
Hey wow you are fantastic.
Thanks for that. That will solve my problem for now.
One nagging question..
Why would the administrative interface save my password as unencrypted, yet
to log back in, it is expected to be encrypted.
Any ideas on how to repair the "save password" in the administrative
interface? Do I paste in the code you provided somewhere into the program's
----- Original Message -----
From: "Mike Heins" <email@example.com>
Sent: Thursday, March 22, 2001 10:33 AM
Subject: Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an
> Quoting Young Family (firstname.lastname@example.org):
> > You wrote
> > > Please trim the enclosures in your replies - it looks like you had an
> > > entire week's worth of postings attached to this one!
> > OK sorry
> > >
> > > The quickest way I can think of to solve your trouble is to make
> > > catalog with a different name. Pay close attention to the username and
> > > password you enter for Super User (when prompted by makecat). Then
> > > the access.asc from the products directory of that new catalog to the
> > > place in your existing catalog. This should force access.gdbm to be
> > > rebuilt with the new Admin entries - you can delete access.gdbm, just
> > > ensure that it gets rebuilt. When all is well and you can log in to
> > > admin area, you can delete the other catalog and remove it from
> > > interchange.cfg.
> > So, I guess I could look at the code for makecat and figure out how it
> > encrypts and then write my own decrypt script . Is that where it is
> > encrypting?
> You can produce an encrypted password with this little thing:
> # genpasswd.pl -- generate an encrypted password (default "pass")
> # usage: genpasswd.pl <password>
> my $enclair = shift || 'pass';
> my @chars = ('A' .. 'Z', 'a' .. 'z', 0 .. 9);
> my $salt = '';
> $salt = $chars[ int( rand(scalar @chars) ) ];
> $salt .= $chars[ int( rand(scalar @chars) ) ];
> print crypt($enclair, $salt);
> Or you can use htpasswd, or any other password generation thingy.
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <email@example.com>
> Friends don't let friends use Outlook. -- Bob Blaylock
> Interchange-users mailing list