From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 09:27:10 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2FA2B16A41C for ; Thu, 14 Jul 2005 09:27:10 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4C0843D4C for ; Thu, 14 Jul 2005 09:27:09 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-37-29.dynamic.qsc.de [212.202.37.29]) by mail.efacilitas.de (Postfix) with ESMTP id BB0F41239E1; Thu, 14 Jul 2005 11:25:18 +0200 (CEST) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id A0B7C12B10C; Thu, 14 Jul 2005 11:26:49 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 69192-02; Thu, 14 Jul 2005 11:26:45 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 1D04A12B02A; Thu, 14 Jul 2005 11:26:45 +0200 (CEST) Message-ID: <42D62FD4.2000501@cs.tu-berlin.de> Date: Thu, 14 Jul 2005 11:26:44 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rick Preston References: <42D58447.9090600@chamkila.org> <20050713213708.GA32730@mezzo.htnsrv.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at example.com Cc: freebsd-questions@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 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: Thu, 14 Jul 2005 09:27:10 -0000 Rick Preston wrote: > I was going to offer something more complicated, thanks for the tip. > I came to realize that both our ideas require shutting down the > system. What would be the safest way to do that with out causing > potential damage to the system, without root access? Turn it off. It's not safe, but the only way that I know unless you don't have a user that is member of the group 'operator'. These users are allowed to use the 'shutdown' command with root privileges: > ls -l /sbin/shutdown -r-sr-x--- 1 root operator 10148 Jul 11 14:12 /sbin/shutdown Björn