HOWTO: fping using profiles(pfexec) Solaris10
list Mike Rowell
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.
list T.J. Yang
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" <user-63f3e97eb1de@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: <user-ae9b8668bcde@xymon.invalid> 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.