Try entering Virtual Console 1 (ctrl+alt+F1) and logging in as a regular user, then SU to root (type su and enter the root password). Now go to /etc/passwd and find your user id and group id (fomat will be username
assword (or "X" if shadow pws are on):user id:group id:shell::
change your uid (will prolly be 500-something) and gid (also likely 500-something, oftentimes the same as your user id) to 0. Record what your previous ids were, though, since you'll need to manually change them back. Now save the file and login with your username. You username will become root the moment you login. Now change the security settings back to what they should be. The system will likely warn you when you login that another user has a UID and GID of "0"--that's the "exploit" we just used to get around your maximum security, so don't worry about it!
Now open /etc/passwd and change the values back to what they were, then reboot the computer. All should be well at this point, and we've patched the security hole we opened a moment ago so the system won't complain anymore.
Mike