You need to enroll the user as a teacher in the course. Refer to the tutorial "User Roles in Moodle" for role assignment
Would you like to add a course for a teacher?
1) You have to be a system admin or manager in the Moodle installation for doing it.
Trust it clarifies,