With the touchpads that most credit card readers use, it's pretty hard to get a signature that looks like anything beyond random seismometer readings.
I always sign my real name, or sometimes a smiley face drawing when I am using other people's credit cards (with their permission!) No cashier has called me on it yet.
Almost certainly the person who owns the credit card is contractually bound such that they can't legally give you permission to use it, you don't have permission because the bank owns it and is the only entity able to give you such permission.
It's a small part of a package of evidence that proves intent to deceive. If I use someone else's credit card I can lie and say it was an accident. I use someone else's credit card and sign their name, not my name, on the slip it's harder for me to make the same lie.