Bad programming is very easy and the market is saturated with bad programmers. Good programmers have excellent math skills, creatively open minds and an appreciation for elegant simplicity.
It's difficult to see your friend making a transition to any form of programming.
If he is reasonably capable with installing/replacing/troubleshooting hardware and familiar with most general business software, small to medium size business are always in need of someone to help them with their individual PCs or systems.
They don't have the resources to have someone full-time and if he knows 1% more than they do, he can become their 'computer guy.' He can set up contracts to perform a variety of monthly maintenance and troubleshooting services, i.e. software upgrades, virus scanning, data backup, etc.
If he can learn about small networks, I'm sure he could find a collection of small/mid size businesses.
Perhaps he could study at home now while his back gets strong enough to let him get out a few times a month later?