How to configure the permissions of the Linux system sudo command?

  

The sudo command under Linux has the highest root privilege by default, but the sudo command is not a panacea. There are also some privilege restrictions in the process of using the sudo command, so you should still give it before using the sudo command. Configure some permissions. So how do you configure permissions for the sudo command under Linux?

as follows:

1, edit sudo profile: visudo;

2, allowing the user to perform kk sudo;

3, allowing Kk executes mount.cifs without entering a password.

The above is how to configure the Linux system sudo command permissions, and only configure the permissions to use the sudo command more conveniently.

Copyright © Windows knowledge All Rights Reserved