Xymon Mailing List Archive search

HOWTO: fping using profiles(pfexec) Solaris10

list Mike Rowell
Fri, 25 Aug 2006 10:16:43 +0100
Message-Id: <user-09be19874440@xymon.invalid>

 

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.