Path: utzoo!attcan!uunet!cbmvax!grr
From: grr@cbmvax.UUCP (George Robbins)
Newsgroups: comp.unix.ultrix
Subject: Re: opser on a workstation
Keywords: operator opser workstation
Message-ID: <7643@cbmvax.UUCP>
Date: 12 Aug 89 19:57:41 GMT
References: <704@larry.sal.wisc.edu>
Reply-To: grr@cbmvax.UUCP (George Robbins)
Organization: Commodore Technology, West Chester, PA
Lines: 27

In article <704@larry.sal.wisc.edu> cathy@larry.sal.wisc.edu (Cathy Accettura) writes:
> I have a Vaxstation 3100 running Ultrix-32 V3.0 (Rev 64) UWS V2.0.
> I want to login as operator to shut the system down without becoming
> root and doing a shutdown.  I tried login in as operator and typing
> the operator passwd.  After a minute of turning my screen to gray
> and giving me a pointer it returns me to the login screen again.

This simplest answer here is simply not to bother with opser at all.

Change the /bin/shutdown program so that it is suid root, and readable/
exectable only by group "operator".  Then add your or your "operator"
logins to an /etc/group line for operator.  After doing this, any of them
can invoke shutdown directly, without haveing to "become" root.

as:

su
chgrp operator /bin/shutdown
chmod 4750 /bin/shutdown

Modify the general notions as appropriate to your own sites notions of
security and who has privileges...

-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)