He could try working as a freelancer, on websites like Elance/Upwork or something and make some money. Then he could use that money move out of the homeless shelter and then look for a decent job.
+1 for freelancing idea, it might actually work if there are security jobs. But I think security in it's nature is something that needs assurance that person is capable of auditing the system.