If you're running as root, neither sudo nor su will ask for a password.