From owner-freebsd-questions@FreeBSD.ORG Sun Nov 19 17:52:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C3A516A40F for ; Sun, 19 Nov 2006 17:52:07 +0000 (UTC) (envelope-from tech@gv.net) Received: from sonic.gv.net (64-142-114-114.colo.sonic.net [64.142.114.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DDAC43D70 for ; Sun, 19 Nov 2006 17:51:56 +0000 (GMT) (envelope-from tech@gv.net) Received: from HOMELAPTOP (wl25.gv.net [65.160.10.25]) by sonic.gv.net (8.13.4/8.13.4) with SMTP id kAJHpbf4028216 for ; Sun, 19 Nov 2006 09:51:38 -0800 Message-Id: <3.0.5.32.20061119095159.01729998@gv.net> X-Sender: david@gv.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Sun, 19 Nov 2006 09:51:59 -0800 To: freebsd-questions@freebsd.org From: David McCord Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: chpass -p dilema X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Nov 2006 17:52:07 -0000 Dear list, I made a error that changed the root password to something unknown. Experimenting, I intended to change the password of pjones, but instead changed the root password since I gave no user argument. As root, I said: chpass -p pjones I logged out then logged back in as my username, then su'd to root. Would not accept the old pw, and wouldn't accept pjones. I'm stuck with an unknown root password. man chpass tells me the argument provided with -p is the encrypted password in crypt format, but doesn't provide enough detail to know where to go from here. I know I can go to the computer and startup in single user and change the root password. This computer is 2 hour round trip for me, which I'd like to avoid. Can anyone help? Thanks, David