SUMMARY: Operator equivalence in 2.3

From: VINCENT@utmk28.cs.usm.my
Date: Wed Jan 25 1995 - 23:15:45 CST


my question was :

>How do I setup operator equivalence on Solaris 2.3 so that the user
>that belongs to the group operator (as in Sun OS 4.1.3) has the right
to
>shutdown the machine.

Thanks to

Sandeep Suryavanshi and Kevin Sheehan

for two quick answers which I have included below
=======================================================
Hi Vincent,

 Here's the excerpt from the /etc/passwd file which will do what you
want.

Run an pwconv after you copy this line to /etc/passwd and then
assign a

password for this account (It's best to have a password which is
known

to everybody than not having a password at all).

regards,

Sandeep Suryavanshi
Network Administrator
Computervision R&D (India) Ltd.

--

halt:x:0:1:Halt System:/:/usr/sbin/halt

====================================================== I would suppose that you make the commands set-uid root and only runnable by root and the group...

rwSr-x--- root operator <command>

l & h, kev



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:14 CDT