setup-pgvector.sh is corrupting /etc/sudoers file
dmoghnie opened this issue · 2 comments
dmoghnie commented
Running the script will result in the /etc/sudoers file containing only "ray ALL=(ALL:ALL) NOPASSWD:ALL"
need to modify the line "echo 'ray ALL=(ALL:ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers
"
to "echo 'ray ALL=(ALL:ALL) NOPASSWD:ALL' | sudo tee -a /etc/sudoers"
bjohn22 commented
This needs a 'hot fix'. I modified the line with echo 'ray ALL=(ALL:ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/ray
instead.
hnhoangdz commented
after run "echo 'ray ALL=(ALL:ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers". my user could not work, I can use any command related to "sudo". please help me!!!