From owner-freebsd-questions@FreeBSD.ORG Mon Nov 13 18:10:47 2006 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 8B13216A580 for ; Mon, 13 Nov 2006 18:10:47 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.200.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FA4643EAB for ; Mon, 13 Nov 2006 18:09:04 +0000 (GMT) (envelope-from remegius@comcast.net) Received: from [67.188.231.169] (c-67-188-231-169.hsd1.ca.comcast.net[67.188.231.169]) by comcast.net (sccrmhc13) with ESMTP id <2006111318084901300atr11e>; Mon, 13 Nov 2006 18:08:49 +0000 Message-ID: <4558B4B3.6040906@comcast.net> Date: Mon, 13 Nov 2006 10:08:51 -0800 From: Rem P Roberti User-Agent: Thunderbird 1.5.0.8 (X11/20061109) MIME-Version: 1.0 To: Jerry McAllister References: <4558A560.4050004@comcast.net> <20061113175722.GA2385@gizmo.acns.msu.edu> In-Reply-To: <20061113175722.GA2385@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Shutting down as user 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: Mon, 13 Nov 2006 18:10:47 -0000 > On Mon, Nov 13, 2006 at 09:03:28AM -0800, Rem P Roberti wrote: > > >> Hi everyone. I just installed 6.1 on an old laptop, and I am unable to >> shutdown as user. I get a "permission denied" error message. I know >> that this is probably some simple permission's thing, as I don't have >> that problem on my desktop, but I'm pretty new to all of this and would >> appreciate a heads up on how to shut down as user. Thanks. >> > > In some way or other, shutdown must be done by root, or possibly by > someone in the operator group. > > You can log in as root -- for which you will need the root password > You can 'su' to root from a regular account -- for which you will need > the root password AND be in the wheel group. > You can create an alkternate root account (recommended) and log in as > that id or su to it -- which requires creating the account > with password. > You can put your account in the operator group -- > You can install and set up 'sudo' to do the shutdown and allow your id > access to it. > > All of these ways require you to have root access to set them up. > They can also be done in 'single user' mode which runs with root priviledge. > > All of this is well covered in the handbool and other documentation. > > ////jerry > > Right. I now remember that putting the account in the operator group was probably how I achieved the affect on the desktop. I'll check that out, and check the handbook. Rem