By default, the superuser (root) account is disabled and doesn’t have any password. You can create one by running:
$ sudo passwd root
You will then be able to login as root by running su using this password.
As for chmod, the correct command would be:
$ chmod 777 -R foobs
You can also use:
$ sudo -i
to login as root using your password (without creating a root password as described above).