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: Antony Stace <antony@example.com>
- Date: Wed, 02 May 2001 09:25:18 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- References: <3AEE873A.82A37255@example.com> <20010501104118.31287.qmail@example.com> <20010501215251.B14663@example.com>
- Reply-To: antony@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <6qvCBD.A.T6H.yP176@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: antony@example.com
Thanks for all the help people. The c call crypt() seems to be the go. Cheers Tony Shimpei Yamashita wrote: > > 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/ > > ----------------------------------------------------------------------- > Next Technical Meeting: Sat, May 12 13:30- > Next Nomikai Meeting: Fri, June (TBA) 19:30- Tengu Tokyo Eki Mae > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- 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>
- Re: Looking for c source code to generate cvs passwords
- From: Shimpei Yamashita <shimpei@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Problem with dislaying Japanese in X
- Next by Date: Re: Looking for c source code to generate cvs passwords
- 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