Inspecting someone's password is bad. It's not nice to get into other people's business and their privacy. If the person finds out you could go to court and possibly be arrested spending a few years in jail. Someone who does this would be called in some ways a hacker.
Hope this helps!