the second option seems more legitimate.u can set that by running `gdmsetup` and select security tab and enable `allow root to login`.but first option can be achieved by simply pressing enter in most distros and is not recommended.in windows only such a thing is done.