Starting programs as root
I just found the root-tail utility and I'd like to use it to display logs. However, it needs to be run as root to get read access to the logs. Taking security into account, what's the safest way to get this to run every time I start X? Thanks.
|
Once it's installed ...
Add yourself to wheel ... chgrp wheel `which root-tail` chmod g+s `which root-tail` and a chgrp on the logs you want your user to watch.... Should do the trick :) Cheers, Tink |
Works great, thanks!
|
All times are GMT -5. The time now is 07:51 AM. |