opser on a workstation

George Robbins grr at cbmvax.UUCP
Sun Aug 13 05:57:41 AEST 1989


In article <704 at larry.sal.wisc.edu> cathy at 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 at uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)



More information about the Comp.unix.ultrix mailing list