Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it safe to post syslog kernlog xorg.o.log from /var/log online to solve a problem with ubuntu system? There is private content in there that other people should not see?

Thanks

share|improve this question

2 Answers 2

There can always be private/sensitive info in them. You should review any file before posting it online, including logfiles.

share|improve this answer

No. It is not safe to publish your system logs online. While the chance of exploiting the information obtained from them is slim, it is a best practice to anonymize them as best as you can.

Do not ever post logs online without cleaning them of personal data.

That mean that you should remove hostnames, usernames, and IP addresses.

It is your personal responsibility to scrub your logs of any personally identifiable data.

Now, how you might accomplish that is a separate question.

share|improve this answer
    
ok, that's about syslog? What about kernlog and Xorg.0.log? Do they have private data? –  Frank Mar 29 '13 at 9:45
    
Well, somewhat they do. It depends on your definition of private. For the most part, I don't believe that they do. kern.log will contain your host name, but if it is not publicly resolvable name that shouldn't be a problem. It's a good question. –  Kevin Bowen Mar 29 '13 at 9:52
    
thanks, my host name is my home name? How can I know if it's a publicly resolvable name? –  Frank Mar 29 '13 at 9:59
    
@Frank another good question. If you are sitting at home with a PC that you just built, I wouldn't be concerned. –  Kevin Bowen Mar 29 '13 at 10:07
    
ok thanks :). However I created a script to remove my ubuntu home and system name from log files. I mean the 2 name that appear in terminal, for example "homeuser@ubuntuname". I don't know if there other thing I can remove –  Frank Mar 29 '13 at 10:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.