From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 14:06:17 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 2747016A41C for ; Thu, 14 Jul 2005 14:06:17 +0000 (GMT) (envelope-from rickjpreston@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id A78B343D45 for ; Thu, 14 Jul 2005 14:06:16 +0000 (GMT) (envelope-from rickjpreston@gmail.com) Received: by rproxy.gmail.com with SMTP id b11so487763rne for ; Thu, 14 Jul 2005 07:06:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hDUiDn/OTZDn5t/9LA1Pkg+1hftLff5tKJA7CVN4OPqVl7sShQ8RGYyiTW48bmWVk1fHuAvpDsD6DuvdwrSZ6ffe3vfAqjDZQDEjtXrEHNflQPobRhnxpSaGo+TxxCfwMes63HCjr7sEnPmH4ioFyO0N3l+6kU+h5s8rRDa6M40= Received: by 10.38.151.73 with SMTP id y73mr1971727rnd; Thu, 14 Jul 2005 07:06:16 -0700 (PDT) Received: by 10.39.1.4 with HTTP; Thu, 14 Jul 2005 07:06:15 -0700 (PDT) Message-ID: Date: Thu, 14 Jul 2005 10:06:15 -0400 From: Rick Preston To: Aaron Peterson In-Reply-To: <45d750d2050714061346aea652@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42D58447.9090600@chamkila.org> <20050713213708.GA32730@mezzo.htnsrv.org> <42D62FD4.2000501@cs.tu-berlin.de> <45d750d2050714061346aea652@mail.gmail.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 Reply-To: Rick Preston List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 14:06:17 -0000 On 7/14/05, Aaron Peterson wrote: > On 7/14/05, Bj=F6rn K=F6nig wrote: > > 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=F6rn >=20 > I was under the impression that if you had physical access to the > console and a default init setup, ctrl-alt-delete would reboot even if > one wasn't logged in... perhaps I'm mistaken though. Hi Aaron, Thanks for pointing that out. I just tryed it on a test system and it worked fine. Cheers, Rick