[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] HOWTO: fping using profiles(pfexec) Solaris10



Hi, Mike

I hope you don't mind. I included your contribution as in FAQ item into hobbit wiki page
http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/FAQ#User_FAQ


T.J. Yang




From: "Mike Rowell" <Mike.Rowell (at) Rightmove.co.uk>
Reply-To: hobbit (at) hswn.dk
To: <hobbit (at) hswn.dk>
Subject: [hobbit] HOWTO: fping using profiles(pfexec) Solaris10
Date: Fri, 25 Aug 2006 10:16:43 +0100



There are 3 files that need to be updated so that fping can be executed
as root (uid=0) on Solaris by a named user, in this case the hobbit
user.



The three files in question are,



/etc/user_attr

/etc/security/exec_attr

/etc/security/prof_attr



These have been updated with the following lines



/etc/user_attr



hobbit::::profiles=Hobbit Commands



/etc/security/exec_attr



Hobbit Commands:solaris:cmd:::/usr/local/sbin/fping:uid=0



/etc/security/prof_attr



Hobbit Commands:::Hobbit Commands:



Regards,



Mike Rowell


________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs service. ________________________________________________________________________