Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Looking for c source code to generate cvs passwords
- To: tlug@example.com
- Subject: Re: Looking for c source code to generate cvs passwords
- From: Shimpei Yamashita <shimpei@example.com>
- Date: Tue, 1 May 2001 21:52:51 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <20010501104118.31287.qmail@example.com>; from jake_morrison@example.com on Tue, May 01, 2001 at 03:41:18AM -0700
- References: <3AEE873A.82A37255@example.com> <20010501104118.31287.qmail@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <uy1VXB.A.ZlH.yOr76@example.com>
- Resent-Sender: tlug-request@example.com
On Tue, May 01, 2001 at 03:41:18AM -0700, Jake Morrison wrote: > So, if you can figure out how to generate normal crypt'ed > passwords, you are there. The source for /sbin/passwd, maybe? > Or PAM. passwd(1) uses libcrypt, which is part of glibc. That's probably the right place to look. Or you can just call the C library function crypt(3) and let Ulrich Drepper worry about the implementation. BTW, if you have perl installed, you can generate encrypted passwords without mucking about with your /etc/passwd file: bash$ perl -e 'print crypt("password", "aa"),"\n"' aajfMKNH1hTm2 For better security, "aa" should be replaced with a random two-character string. -- Shimpei Yamashita http://www.shimpei.org/
- Follow-Ups:
- Re: Looking for c source code to generate cvs passwords
- From: Antony Stace <antony@example.com>
- References:
- Looking for c source code to generate cvs passwords
- From: Antony Stace <antony@example.com>
- Re: Looking for c source code to generate cvs passwords
- From: Jake Morrison <jake_morrison@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Firewall setting
- Next by Date: Re: gjiten 0.8
- Prev by thread: Re: Looking for c source code to generate cvs passwords
- Next by thread: Re: Looking for c source code to generate cvs passwords
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links