*BSD News Article 45189


Return to BSD News archive

Xref: sserve comp.sys.sun.admin:48198 comp.unix.admin:29440 comp.unix.bsd:16638 comp.unix.shell:22811 comp.unix.solaris:39121 comp.unix.ultrix:25398 comp.unix.xenix:10634 comp.security.unix:13418
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!uunet!in1.uu.net!news1.cle.ab.com!news1.hh.ab.com!werner
From: werner@sparcserver.mc.ab.com (tim werner)
Newsgroups: comp.sys.sun.admin,comp.unix.admin,comp.unix.bsd,comp.unix.shell,comp.unix.solaris,comp.unix.ultrix,comp.unix.xenix,comp.security.unix
Subject: Re: Shutdown Account
Date: 08 Jun 1995 10:13:48 GMT
Organization: Allen-Bradley Company, Inc.
Lines: 28
Distribution: inet
Message-ID: <WERNER.95Jun8061348@sparcserver.mc.ab.com>
References: <3r2j7f$7p4@apakabar.cc.columbia.edu>
NNTP-Posting-Host: sparcserver.mc.ab.com
To: czen@inibara.cc.columbia.edu (Chen Zhou)
In-reply-to: czen@inibara.cc.columbia.edu's message of 6 Jun 1995 22:01:19 GMT

>From: czen@inibara.cc.columbia.edu (Chen Zhou)
>Date: 6 Jun 1995 22:01:19 GMT
>	In order to let the non-unix personnel at work to gracefully 
>shutdown the system instead of having them just flip the power. I 
>created a uid=0 account named shutdown with a password, i had its shell

I think it is better to get sudo, and put in the sudoers file that
everyone can use the commands "shutdown" and "reboot".  We have this,
and it seems to work fine.  The latest version of sudo is under the
filename "cu-sudo", because it has been "Cleaned Up", and uses the
configure program now.  It built and installed very easily for Ultrix
(an exception to the rule that Ultrix is always the worst platform to
get any free software running on - well, may HP-UX is really worse).

Here's from the README:

  Before you try and build sudo, *please* make sure you have the current
  version.  The latest sudo may always be gotten via anonymous ftp from
  ftp.cs.colorado.edu in the directory /pub/sysadmin/utilities/.  The
  distribution is cu-sudo.v1.3.1plN.tar.Z where N is the patchlevel (for
  patchlevel 0 there is no plN suffix).


hth,
tw
--

The shadow of the bamboo sweeps the steps, but the dust does not stir.