From owner-freebsd-questions Mon Aug 7 13:28:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from c014.sfo.cp.net (c014-h003.c014.sfo.cp.net [209.228.12.67]) by hub.freebsd.org (Postfix) with SMTP id A14C437B96F for ; Mon, 7 Aug 2000 13:28:07 -0700 (PDT) (envelope-from dchance@valuedata.net) Received: (cpmta 1806 invoked from network); 7 Aug 2000 13:28:04 -0700 Received: from m12hRs4n205.midsouth.rr.com (HELO development1) (24.95.125.205) by smtp.valuedata.net with SMTP; 7 Aug 2000 13:28:04 -0700 X-Sent: 7 Aug 2000 20:28:04 GMT Message-ID: <002901c000ad$d65af000$0200000a@development1> From: "Daryl Chance" To: References: <20000807181112.11772.qmail@web3206.mail.yahoo.com> Subject: Re: Passwords without passwd... - CVS Date: Mon, 7 Aug 2000 15:26:55 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG IIRC, the key is the first 2 characters of your login. ----- Original Message ----- From: "Dan Fairs" To: Sent: Monday, August 07, 2000 1:11 PM Subject: Passwords without passwd... - CVS > Hi, > > Apologies if this is in the docs, but I've missed it if I have. > > I'm setting up a remote CVS repository, with users authenticated with a > password. I read in the CVS docs that CVS uses the same format as the > FreeBSD master.passwd file - and indeed, copying and pasting the > encrypted password into the appropriate CVS password file results in a > successful login. > > I'd like to know how to generate these passwords without having to go > through the rigmarole of adding a user to the system, copy'n'pasting > the password from the password file, then removing the user again from > the system. The docs say the system crypt() function is used, but > unless I'm missing an option, a key is *always* required. What key does > the OS use when creating a system password? Or rather, how is it > derived? > > Therefore, how does one go about generating passwords oneself, for CVS, > or any other system password-compatible system? > > Many thanks, > Dan > > ===== > Daniel Fairs dan@spiderplant.no-spam.net > System Administrator > spiderplant.net > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message