Tú Linh Nguyễn
New member
How do I grant administrator privileges in Linux?
Answer
Procedure to add or create a sudo user (admin) on CentOS or RHEL:
Answer
Procedure to add or create a sudo user (admin) on CentOS or RHEL:
- Open the terminal application.
- For remote CentOS server use the ssh command and log in as the root user using either su or sudo.
- Create a new CentOS user named vivek, run: useradd vivek.
- Set the password, execute: passwd vivek.