From owner-freebsd-questions Wed Nov 11 06:49:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA22018 for freebsd-questions-outgoing; Wed, 11 Nov 1998 06:49:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from PigStuy.dyn.ml.org (nyc-ny67-29.ix.netcom.com [209.109.225.157]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA21996 for ; Wed, 11 Nov 1998 06:49:10 -0800 (PST) (envelope-from spork@pigstuy.dyn.ml.org) Received: from localhost (spork@localhost) by PigStuy.dyn.ml.org (8.8.8/8.8.7) with SMTP id JAA10448; Wed, 11 Nov 1998 09:47:52 -0500 (EST) (envelope-from spork@pigstuy.dyn.ml.org) Date: Wed, 11 Nov 1998 09:47:51 -0500 (EST) From: Spike Gronim Reply-To: sporkl@ix.netcom.com To: Tolpin Vladimir cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shutdown In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 11 Nov 1998, Tolpin Vladimir wrote: > Hello > > There is one strange question about shutdown. > The problem is: > We have server witch "on" only when someone at work, but the last one > who > leave room must down it, but only I have root password and other have only > users account and password to 'on' system . Please explane me how common > user can down server without root password. > > I would like to have such solution: > Add new user call 'shutdown' with password witch use then system start and > when this user login system must start some script file and halt itself. Is > it > possible to do this ??? If yes, please tell me how can I do it. > > P.S.: Sorry for my English. > > Waiting for your answer: tolpin@chat.ru Get sudo from ports/security. It allows users to execute only commands you specify as root, using their password. -Spike Gronim sporkl@ix.netcom.com The majority only rules those who let them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message