Yahoo has warned customers that cyber attackers may have compromised their accounts in the past two years, finally alerting them about malicious activity it has known about for months. The warning, which has been issued to affected customers, says that hackers may have been able to access their accounts without knowing the password.