The error message you provided indicates that there is an issue with the fs.proc_super_gid
option value in the /etc/sysctl.conf
file. It also mentions that the admin user does not appear to belong to the clsudoer
group.
Let's address this step by step:
-
Fixing
fs.proc_super_gid
in/etc/sysctl.conf
:-
Open the
/etc/sysctl.conf
file using a text editor. For example:bash
-
-
sudo nano /etc/sysctl.conf
-
Locate the line that sets
fs.proc_super_gid
. It might look something like this:php -
fs.proc_super_gid = <some_value>
-
Ensure that the value is set correctly. If you're not sure what value to use, you might need to consult your system's documentation or the provider's instructions.
-
After making any changes, save the file and exit the text editor.
-
Apply the changes using the following command:
bash -
-
sudo sysctl -p
-
-
Adding Admin User to
clsudoer
Group:-
If the admin user needs sudo privileges, you should add them to the
sudo
orwheel
group, notclsudoer
. -
To add a user to the
sudo
group, use the following command, replacing<username>
with the actual username:bash
-
-
-
sudo usermod -aG sudo <username>
-
After adding the user to the
sudo
group, they will have sudo privileges.
-
-
Reboot:
- After making these changes, it's a good idea to reboot your system to ensure that all changes take effect.
Remember, always be cautious when editing system configuration files, and make sure to have backups or a way to access your system in case any changes cause issues. If you're unsure about any specific configurations, it's a good idea to consult the documentation for your specific system or seek advice from a qualified system administrator.