sudo passwd works too.
Fedora 28 does NOT ask you to set the root password. It is in fact, not set. When you set up your initial account you get sudo rights. This allows you to create a password for root if you really want/need it.