Grant access to wget and curl to user x
Q: What command do I need to run as root to grant access to wget and curl to user x?
A: Curl and wget is locked down on the server. You need to add the user x to both of these groups in order grant them the necessary privileges.
Both the steps below can be followed for this:
1) vi /etc/group and add the user x to the group seperated by comma.( this will look like curl:x:32474:x,y)
2) Use the command gpasswd; syntax: gpasswd -a x curl
note: use gpasswd -d x curl to remove x from curl.