Hiếu Hoàng
Member
How do I add a user password in Linux?
Answer
Creating Sudo User
Answer
Creating Sudo User
- Log in to your server. Start by logging in to your CentOS server as the root user.
- Create a new user account. Create a new user account using the useradd command.
- Set the user password. Use the passwd command to set a password for the new user.
- Add the new user to the sudo group.