Hi. 2008/10/1 David Bustos <David.Bustos at sun.com> > > Quoth Michael Schmarck on Wed, Oct 01, 2008 at 02:20:21PM +0200: > > As I'm not root, I of course cannot write to /dev/msglog. > > > > What's the proper remedy to this problem on Solaris 10? > > Chmod 0666 /dev/../devices/pseudo/sysmsg at 0:msglog? > > That would probably work, but then anybody could write to msglog. You
Of course. And for that reason, chmod 0666 isn't a real solution. :) > 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? > 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? :) Do you know if that bug has been reported already and if so, what's the status of the bug is? Cheers, Michael