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 could write a script which just writes to msglog, but is set-uid root. Then only people & programs which know about your script could write to msglog. Or maybe you could start your service as root and have it change to the user you desire after it's done logging. David