Thread View: news.software.nntp
4 messages
4 total messages
Started by Steffie
Thu, 19 Apr 2001 11:51
how to create encrypted pasword files ?
Author: Steffie
Date: Thu, 19 Apr 2001 11:51
Date: Thu, 19 Apr 2001 11:51
23 lines
1685 bytes
1685 bytes
I want to use authentication with INN 2.3.1 and if i understand correctly i need to do that with ckpasswd as authentication program. but this program expects the username/pasword database or file to have encrypted paswords. in the man page there is an example in perl to create a database, but that doesn't work probably because i don't have ndmb and i don't know yet what i need to install to get this (slackware 7.1) and i know almost nothing about perl programming, so i don't know how to make a perl script to do this for a simple pasword file. so? anyone who can help me with these problems, or give me a hint in the good direction ?
Re: how to create encrypted pasword files ?
Author: Jeffrey M. Vinocur
Date: Thu, 19 Apr 2001 18:16
Date: Thu, 19 Apr 2001 18:16
19 lines
1511 bytes
1511 bytes
In article <9bmjg8$gog$1@news.tudelft.nl>, Steffie <steffie@indoleeroord.penguinpowered.com> wrote: > >in the man page there is an example in perl to create a database, >but that doesn't work >probably because i don't have ndmb > >and i know almost nothing about perl programming, so i don't know how to >make a perl script to do this for a simple pasword file. Do you have Apache installed? If so, you can use its htpasswd file to maintain your INN password database. -- Jeffrey M. Vinocur jeff@litech.org
Re: how to create encrypted pasword files ?
Author: those who know me have no need o...
Date: Fri, 20 Apr 2001 02:34
Date: Fri, 20 Apr 2001 02:34
27 lines
1846 bytes
1846 bytes
<9bmjg8$gog$1@news.tudelft.nl> divulged: >I want to use authentication with INN 2.3.1 >and if i understand correctly i need to do that with ckpasswd as >authentication program. there are other ways, and that is one. >in the man page there is an example in perl to create a database, but >that doesn't work probably because i don't have ndmb and i don't know >yet what i need to install to get this (slackware 7.1) ndbm_file is part of perl. i suspect that you copied the program somewhat incorrectly. an ndbm file is only needed if you use the -d switch, which makes sense if you will have a sizeable file. if you expect the file (i.e., number of users) to be small then use the -f switch and a (truncated) gecos (standard unix) style file, which, as jeffrey mentions in his response, can be created using the htpasswd program supplied with apache. please do not be tempted to use your system's passwd or shadow file, even if only those people are supposed to be allowed access. (unless you only allow ssl access.) -- okay, have a sig then
Re: how to create encrypted pasword files ?
Author: Jeffrey M. Vinocur
Date: Fri, 20 Apr 2001 05:24
Date: Fri, 20 Apr 2001 05:24
25 lines
1855 bytes
1855 bytes
In article <tdv82ectpn2n40@news.supernews.com>, those who know me have no need of my name <not-a-real-address@usa.net> wrote: > >ndbm_file is part of perl. i suspect that you copied the program >somewhat incorrectly. an ndbm file is only needed if you use the -d >switch, which makes sense if you will have a sizeable file. IIRC, the example program in the documentation creates a dbm database. One for regular passwd database is pretty easy, but not available as is. >please do not be tempted to use your system's passwd or shadow file, >even if only those people are supposed to be allowed access. (unless >you only allow ssl access.) And even so, be cautious, since it allows an arbitrary number of password-guessing attempts that probably don't get logged as expected. -- Jeffrey M. Vinocur jeff@litech.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads