Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup-pgvector.sh is corrupting /etc/sudoers file #65

Open
dmoghnie opened this issue Oct 13, 2023 · 2 comments
Open

setup-pgvector.sh is corrupting /etc/sudoers file #65

dmoghnie opened this issue Oct 13, 2023 · 2 comments

Comments

@dmoghnie
Copy link

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
Copy link

bjohn22 commented Dec 2, 2023

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
Copy link

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!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants