From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 13:13:18 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 AC06916A41C for ; Thu, 14 Jul 2005 13:13:18 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40ABE43D45 for ; Thu, 14 Jul 2005 13:13:18 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: by zproxy.gmail.com with SMTP id i11so224386nzi for ; Thu, 14 Jul 2005 06:13:17 -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=e38ZW8hgkz+9giONKNp7GPqnR14Bkb4+EVFT2HsjsUhw8c2cwDsZvNSl9AcoMhVkqV78Xb8uvpjiD13hkQYPjY/ff3mwA+JytgB6GVgah74CgY7I/azAQzGtFpt+fwv2Sqk9aEasD0xtVlqyxl7Cunw9YJgMu3JMFI+j5mjOugw= Received: by 10.36.36.14 with SMTP id j14mr317138nzj; Thu, 14 Jul 2005 06:13:17 -0700 (PDT) Received: by 10.36.86.5 with HTTP; Thu, 14 Jul 2005 06:13:17 -0700 (PDT) Message-ID: <45d750d2050714061346aea652@mail.gmail.com> Date: Thu, 14 Jul 2005 09:13:17 -0400 From: Aaron Peterson To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= In-Reply-To: <42D62FD4.2000501@cs.tu-berlin.de> 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> Cc: freebsd-questions@freebsd.org, Rick Preston 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: Aaron Peterson List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 13:13:18 -0000 On 7/14/05, Bj=F6rn K=F6nig wrote: > Rick Preston wrote: >=20 > > 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? >=20 > 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: >=20 > > ls -l /sbin/shutdown > -r-sr-x--- 1 root operator 10148 Jul 11 14:12 /sbin/shutdown >=20 > Bj=F6rn 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.