some exception handling around the etc/passwd and etc/sudoers just to be safe