By default the pinodexmr user has a NOPASSWD tag in /etc/sudoers. Many daemons like monoerod and p2pool are executed with pinodexmr privileges. Depending on your setup those daemons might expose ports like 37888-37889 and 18080 to the outside world. This means that in the event that a rce vulnerability is discovered in monerod/p2pool it would be trivial for a malicious/compromised node to elevate themselves to root for free.
Removing the NOPASSWD tag will cause users to be initially prompted for their password during updates when the first sudo'd command is called, but sudo caches/timestamps credentials for 15 minutes by default and the subsequent sudo'd commands will go through without prompting the user.
By default the
pinodexmruser has aNOPASSWDtag in/etc/sudoers. Many daemons likemonoerodandp2poolare executed withpinodexmrprivileges. Depending on your setup those daemons might expose ports like37888-37889and18080to the outside world. This means that in the event that a rce vulnerability is discovered inmonerod/p2poolit would be trivial for a malicious/compromised node to elevate themselves to root for free.Removing the
NOPASSWDtag will cause users to be initially prompted for their password during updates when the first sudo'd command is called, but sudo caches/timestamps credentials for 15 minutes by default and the subsequent sudo'd commands will go through without prompting the user.