From owner-freebsd-questions Mon Aug 7 12:58:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web3206.mail.yahoo.com (web3206.mail.yahoo.com [204.71.202.203]) by hub.freebsd.org (Postfix) with SMTP id 7EA8037B586 for ; Mon, 7 Aug 2000 12:58:02 -0700 (PDT) (envelope-from danfairs@yahoo.co.uk) Message-ID: <20000807181112.11772.qmail@web3206.mail.yahoo.com> Received: from [212.188.128.174] by web3206.mail.yahoo.com; Mon, 07 Aug 2000 19:11:12 BST Date: Mon, 7 Aug 2000 19:11:12 +0100 (BST) From: =?iso-8859-1?q?Dan=20Fairs?= Subject: Passwords without passwd... - CVS To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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