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_gidin/etc/sysctl.conf:-
Open the
/etc/sysctl.conffile using a text editor. For example:
-
-
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:
-
sudo sysctl -p
-
-
Adding Admin User to
clsudoerGroup:-
If the admin user needs sudo privileges, you should add them to the
sudoorwheelgroup, notclsudoer. -
To add a user to the
sudogroup, use the following command, replacing<username>with the actual username:
-
-
-
sudo usermod -aG sudo <username> -
After adding the user to the
sudogroup, 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.
Norwegian