Closed brendt closed 3 years ago
Correct: there is no "user" called valet
. No such user is required.
The sudoers
entry is the name of a process (the valet
bin) which is allowed to use sudo
mode without re-authenticating, despite running as the current user
(eg: you).
Ok, so I guess the issue is with phpmon, thanks for clarifying!
I'm trying to use valet with phpmon, which needs
valet trust
to be run. That commands works fine and adds the correct file in/etc/sudoers.d
, but when starting phpmon it complains that the uservalet
isn't in the sudoers file. I've double checked to make suresudoers.d
is loaded from/etc/sudoers
, and also tried adding a manual entry in/etc/sudoers
.Digging a little deeper, trying to list which permissions the
valet
user actually has yields this:It seems like the user doesn't exist?
This is the output of
valet diagnose
: