Can you log in at all? Not even in a different terminal window? Is this error during the load-up (when all the writing goes down the page).
If you can log into Mandrake as root then change the file permissions for that file, like so:
Code:
chmod og-rwx /etc/sysconfig/autologin