hans

hans

Create user and give sudo permissions in CentOS 7

Run the following commands under the sudo su user:

  1. Create a user:
  1. Set a password:
  1. Change the file permissions to allow editing:
  1. Enter the file editor:
  1. The file content should be changed as follows:
  1. Change the file permissions to read-only:
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.