fixed subdir /etc/shadow check