Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

After setting up Wave in a Box on my Debian server, I started noticing strange things happening: I could no longer use sftp to transfer files, and even worse, I couldn't run any sudo commands! Thankfully, I could still su to root. When I checked /etc/sudoers, I found that it had been completely reset, with only the root user having sudoer permission.

I don't think my server was hacked, since I'm running denyhosts to shut out any attempts. Any idea what could have caused /etc/sudoers and /etc/ssh/sshd_config to reset themselves?

share|improve this question

2 Answers 2

The Debian system cares so as not to mess up with your configs, but who knows? Did you recently upgrade your sudo (cat /var/log/apt/history.log)? Which version do you have installed? If you are running Debian Sid, you might have been adversely affected by an update to 1.7.4p4-6. The upload was meant to fix this bug.

share|improve this answer

This could happen if the packages were purged and reinstalled. Purging removes old config files and reinstall would bring you back to the default state.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.