You REALLY REALLY REALLY REALLY don't want to test that the user has a 
specifically named profile - not even pfexec (pfsh,etc) do that.  It is 
very likely that the user may have a differently named profile with the
required privileges/uid assigned to the command.


Also if you want to parse the user_attr(4) file the correct way to do 
this is using the routines in libsecdb because this file may be in the 
nameservice rather than just locally.

--
Darren J Moffat
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to