How do I grant administrator privileges in Linux?

How do I grant administrator privileges in Linux?
Answer
Procedure to add or create a sudo user (admin) on CentOS or RHEL:
  1. Open the terminal application.
  2. For remote CentOS server use the ssh command and log in as the root user using either su or sudo.
  3. Create a new CentOS user named vivek, run: useradd vivek.
  4. Set the password, execute: passwd vivek.
19 июн. 2020 г.
 

Tìm kiếm

Back
Top