Apparently, Satan had charge of the earth prior to his fall. He was the watchman. This may explain why he was still in the Garden of Eden after his fall and after the six-days of creation, and why he wanted to tempt Eve to sin in order to regain his authority.