Am very new to Ubuntu and I got a machine which was used by some one before. Now I don't know how to recover login credentials.

I tried to enter to root and tried to see the user names. I used ls `/home`,but am not seing any users or names displayed. Anyone has any idea about this?