Hi Guys am trying to change ownership of a dir using this command:
“sudo chown -R test:test test/”.
However, am getting this message " forge is not in the sudoers file. This incident will be reported. "
I don’t know what this means can you please help?
Thanks
Yomi
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Actually, that won’t help.
test is not the user who is running the command, forge is.
This means that you need to add forge to the sudoers file with appropriate permissions to run the chown command, either with or without having to enter a password.
The problem you have is that this user, forge, is not in the sudoers list, and as such is unable to add themselves to it, this has to be done by root or another user with sudo privileges as ITNerdBox stated.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.