Quoth Michael Schmarck on Thu, Oct 02, 2008 at 08:31:41AM +0200: > > could write a script which just writes to msglog, but is set-uid root. > > Would that be the only solution on S10? IOW: In S10, smf_console > doesn't work for non users?
Yes, in S10, smf_console doesn't work for non-root users. This is the first request for it that I've seen. > > Or maybe you could start your service as root and have it change to the > > user you desire after it's done logging. > > No. That defeats the purpose of being able to specify a user > in the manifest, doesn't it? :) Eh, if you don't trust your script, or the service, then yes. Since you're writing the script, I imagine you trust it. Really I think it just moves the trust point back a little bit. How adverse you are to that is up to you. > Do you know if that bug has been reported already and if > so, what's the status of the bug is? There is no bug report to my knowledge. Feel free to file one at bugs.opensolaris.org . David