I'm no lawyer, but if you got the software under a special discount scheme then usually there are conditions attached, such as only being for personal use and not being able to resell. When I worked at a University I could get any Microsoft software for £1 but only under condition it was I who used it and if I left the Uni I would have to uninstall it. Regardless, if you did sell it then licence conditions would have to be continued, hence person buying it would have to be a student etc.