I logged on to my debian box and tried running some commands and I was presented with the following message.
sudo: Can't open /var/lib/sudo/username/0: Read-only file system
After doing some digging I discovered that the fstab had an option on the root partition that would remount it as read only:
I suspect it remount the error in case of a file system consistency issue.
Now I have come across a tool fsck and some say it may resolve the issue using the command
sudo fsck -t ext3 /dev/sda[n]
according to this article.
I suspect i could remount it and change the read only restriction however if the debian changed it to avoid further damage or loss of information i think it wouldn't be a good idea.
However there is no guarantee it would work for mine and it may even cause more issues.
Does anyone have any advice on what steps to take?
Below is the first section of the FSTAB
UUID=e2887ae1-xxxx-xxx-xxx-xxxxxxxx / ext3 errors=remount-ro 0 1