[freeside] Importing Legacy master.passwd data with svc_acct.import
Brad Dameron
bdameron at tscnet.com
Sat Nov 18 13:09:15 PST 2000
On Sat, 18 Nov 2000, ivan wrote:
> On Sat, Nov 18, 2000 at 06:27:10PM +1000, Tim McCullagh wrote:
> > Hi Ivan,
> >
> > I didn't have any luck with importing the encrypted passwords
>
> You might need to modify svc_acct.pm if you're using something beyond the
> standard UNIX crypt() encryption. Patches welcome.
>
> >
> > Instead of
> >
> > xxxxxx:$1LBPlP4ou0b$1g1VBgsmWvT.0DVTs.:xxxxxx:105::0:0:somebody x
> > :/usr/x/xxxxxx:/bin/sh
> >
> > I get
> >
> > | xxxxxxx| 1x13x | NULL | 0.0.0.0 | 2WmXc8PL | 105 | /bin/sh | NULL |
> > 3514 | /usr/x/xxxxxx | NULL |
> >
> > The passwd.import file is correct, which would suggest that it is being read
> > correctly from the original master.passwd. Seems it is a problem between
> > the password.import and the db it is being inserted to.
> >
> > When I add users through the web interface it inserts the passwords in clear
> > text if that helps.
> >
> > My password field is 40 characters and I have run the bin/dbdef-create
> > again
> >
> > Any ideas?
Ya that is a MD5 password. Many Internet providers tend not to use it as
there is not nearly as much support for it. I saw a MD5 to basic
crypt() converter on the google search engine at one time. Might consider
switching.
Brad
More information about the freeside-users
mailing list