There is no chance of an internal attack, so I would like to give sudo privileges to users at the local computer using sudoers. I tried these lines separately:
%admin localhost=(ALL) NOPASSWD: ALL %admin 127.0.0.1=(ALL) NOPASSWD: ALL
But sudoers does not seem recognize either
Is there an alternative, and if so, how secure would it be? Could a remote attacker gain local user privileges using cron or some other method?