From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 22:32:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D06282E3 for ; Mon, 9 Jun 2014 22:32:44 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FD5A2999 for ; Mon, 9 Jun 2014 22:32:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s59MWgta074303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 9 Jun 2014 16:32:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s59MWgvm074300 for ; Mon, 9 Jun 2014 16:32:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 9 Jun 2014 16:32:42 -0600 (MDT) From: Warren Block To: freebsd-questions@freebsd.org Subject: Re: The binary code is used in development of projects based on FreeBSD in Latvia? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 09 Jun 2014 16:32:42 -0600 (MDT) Content-Type: TEXT/PLAIN; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 22:32:44 -0000 On Sun, 8 Jun 2014, Warren Block wrote: > On Sun, 8 Jun 2014, françai s wrote: > >> The binary code is used in development of projects based on FreeBSD in >> Latvia? >> I ask this because the University of Latvia and Riga Technical University >> teach coding in binary code. >> If these projects become part of the major BSD projects, maybe we will be >> interested in coding in binary code. > > https://forums.freebsd.org/viewtopic.php?t=42856 My mistake, this thread is deleted. It was a combination of three topics with the same question asked three different ways. internetarchive.org does not have it archived, either. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 02:17:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09AF1BC9 for ; Tue, 10 Jun 2014 02:17:52 +0000 (UTC) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.232]) by mx1.freebsd.org (Postfix) with ESMTP id C939C2ACF for ; Tue, 10 Jun 2014 02:17:50 +0000 (UTC) Received: from [76.184.156.59] ([76.184.156.59:58725] helo=[192.168.1.32]) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 21/07-11813-7CA66935; Tue, 10 Jun 2014 02:17:44 +0000 Date: Mon, 09 Jun 2014 21:17:43 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: FreeBSD Questions Subject: Weird behavior with user creation Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=a+i+9CiF c=1 sm=1 tr=0 a=iy4Q/FHRRDrLt+awqfk3Bw==:117 a=iy4Q/FHRRDrLt+awqfk3Bw==:17 a=ayC55rCoAAAA:8 a=JcwuwMSQfa4A:10 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=UdvEN9gbqWsBAELrqE0A:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 02:17:52 -0000 I tried to create a user in the usual way (I've deliberately changed the real username): # pw useradd testing -m -s /usr/local/bin/bash # pw: user 'testing' disappeared during update If I grep /etc/passwd, the user is there: # grep testing /etc/passwd testing:*:1009:1009:User &:/home/vembu:/usr/local/bin/bash Same for /etc/group: # grep testing /etc/group testing:*:1009: But his home directory didn't get created. And even weirder, when I try to set his password, the system says he doesn't exist: # passwd testing passwd: testing: no such user If I run pwd_mkdb to check the file, it seems that it's corrupted somehow: pwd_mkdb -C /etc/pwd.db pwd_mkdb: line #1 too long pwd_mkdb: /etc/pwd.db: Inappropriate file type or format It's the same for spwd.db: # pwd_mkdb -C /etc/spwd.db pwd_mkdb: line #1 too long pwd_mkdb: /etc/spwd.db: Inappropriate file type or format spwd and pwd are different. # diff /etc/spwd.db /etc/pwd.db Files /etc/spwd.db and /etc/pwd.db differ What happened? More importantly, how do I fix it? My password and the root password both work fine, so I don't want to screw those up. System is 8.4 RELEASE, just upgraded. Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell