From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 01:11:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AD5D16A4CE for ; Sun, 6 Feb 2005 01:11:27 +0000 (GMT) Received: from av9-2-sn4.m-sp.skanova.net (av9-2-sn4.m-sp.skanova.net [81.228.10.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6685743D2F for ; Sun, 6 Feb 2005 01:11:26 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av9-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 4585837E59; Sun, 6 Feb 2005 02:11:25 +0100 (CET) Received: from smtp4-2-sn4.m-sp.skanova.net (smtp4-2-sn4.m-sp.skanova.net [81.228.10.180]) by av9-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 30B6037E43 for ; Sun, 6 Feb 2005 02:11:25 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp4-2-sn4.m-sp.skanova.net (Postfix) with SMTP id ED1C337E45 for ; Sun, 6 Feb 2005 02:11:24 +0100 (CET) Received: (qmail 61899 invoked by uid 1001); 6 Feb 2005 01:11:24 -0000 Date: Sun, 6 Feb 2005 02:11:24 +0100 From: Erik Trulsson To: Pat Maddox Message-ID: <20050206011123.GA57234@falcon.midgard.homeip.net> Mail-Followup-To: Pat Maddox , Gert Cuykens , freebsd-questions@freebsd.org References: <810a540e05020517004715999b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <810a540e05020517004715999b@mail.gmail.com> User-Agent: Mutt/1.5.6i cc: Gert Cuykens cc: freebsd-questions@freebsd.org Subject: Re: Where do all the passwd get saved ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 01:11:27 -0000 On Sat, Feb 05, 2005 at 06:00:19PM -0700, Pat Maddox wrote: > /etc/passwd is a system file that just lists accounts. Having the > passwords in there is insecure because it has to be readable by > everyone. In linux systems, the actual passwords are in /etc/shadow. > > I don't know exactly how FreeBSD handles passwords. I don't even > think it uses /etc/passwd (only there for compatibility with some > linux software?), and instead keeps everything in a hashed database > file. My guess is that all the passwords are in spwd.db. > > But I don't know that for sure :) Hopefully somebody else can clarify this. > > > > > On Sun, 6 Feb 2005 01:45:09 +0100, Gert Cuykens wrote: > > I thought it was /etc/passwd but that seemed not to be where i was > > looking for :) RTFM, the passwd(5), passwd(1), pwd_mkdb(8) and vipw(8) manpages in particular. -- Erik Trulsson ertr1013@student.uu.se