users – TecAdmin https://tecadmin.net How to guide for System Administrator's and Developers Thu, 16 Jun 2022 07:43:56 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 How to Create a Sudo User in Fedora https://tecadmin.net/create-sudo-user-on-fedora/ https://tecadmin.net/create-sudo-user-on-fedora/#respond Sat, 12 Jun 2021 01:27:55 +0000 https://tecadmin.net/?p=25820 Sudo allows us to provide superuser privileges to a normal user with restrictions. It allows users to run programs with the privileges of other users. One can configure sudo to give root privileges to specific commands only. This tutorial helps you to create a new user with Sudo privileges, allow sudo access to the existing [...]

The post How to Create a Sudo User in Fedora appeared first on TecAdmin.

]]>
Sudo allows us to provide superuser privileges to a normal user with restrictions. It allows users to run programs with the privileges of other users. One can configure sudo to give root privileges to specific commands only.

This tutorial helps you to create a new user with Sudo privileges, allow sudo access to the existing accounts or remove sudo privileges from any account.

Create User with Sudo Access

The adduser is the default system command to create new users on your Fedora system. In Fedora systems, a default group is created with the name “wheel” having sudo privileges. So we can assign sudo privileges to any user by adding them to the wheel group.

Let’s create a new user “tecadmin” and also add them to a group “wheel”.

sudo adduser -G wheel tecadmin 

Make sure to use -G in the capital, which is used for supplementary groups of the new account.

Next, set a strong password for the new account.

sudo passwd tecadmin 

Assign Sudo Privileges to User

Use the usermod command for making changes in the existing accounts. In this case, a user tecadmin has already been created on your system. Now add this user to a secondary group wheel. That will provide sudo privileges to your existing account.

To add user to wheel group, type:

sudo usermod -a -G wheel tecadmin 

This will just add tecadmin user to the wheel group. One can verify the same in the /etc/group file.

Remove Sudo Privileges from User

The gpasswd is an command-line utility for managing /etc/groups and /etc/shadow. With the help of this command, you can add or remove any user from groups.

Use the following command to remote remove tecadmin account from wheel group.

sudo gpasswd -d tecadmin wheel 

We also recommend viewing the /etc/sudoers file and removing any user-specific entries.

Conclusion

In this tutorial, we have discussed creating a Sudo account in the Fedora Linux system. Also includes commands to allow sudo access to the existing accounts as well as remove sudo privileges from the existing account.

The post How to Create a Sudo User in Fedora appeared first on TecAdmin.

]]>
https://tecadmin.net/create-sudo-user-on-fedora/feed/ 0
How To Change User Password in Windows Server 2019 https://tecadmin.net/how-to-change-user-password-in-windows-server-2019/ https://tecadmin.net/how-to-change-user-password-in-windows-server-2019/#respond Tue, 01 Jun 2021 09:59:42 +0000 https://tecadmin.net/?p=26394 Changing password at a regular interval is a good practice for all system administrators. In this production environment, change the password at least every 3 months and for other environments do it every 6 to 12 months. In this tutorial, we will explain the steps to change a user’s password in Windows Server 2019. Prerequisites [...]

The post How To Change User Password in Windows Server 2019 appeared first on TecAdmin.

]]>
Changing password at a regular interval is a good practice for all system administrators. In this production environment, change the password at least every 3 months and for other environments do it every 6 to 12 months. In this tutorial, we will explain the steps to change a user’s password in Windows Server 2019.

Prerequisites

Log in as an Administrator account to your Windows Server 2019 system.

Change User Password in Windows Server 2019

Let’s follow the below steps to change a user’s password in Windows Server 2019.

  1. Search for the system Control Panel and launch it.

    Open Control Panel in Windows Server 2019

  2. Under the User accounts click “Change account type” link:
    Open Accounts in Windows Server 2019

  3. You will see a list of all user accounts. Select the user account, you need to change the password.

    Select Account to Change password in Windows Server 2019

  4. Make sure the correct account is selected. Now click on the “Change the password” link.

    Change users password in Windows Server 2019

  5. Enter your current user password, then provide a new password to set for the user. Make sure you have noted this password in a safe place. Now click on the “Change password” button.

    Set a new password for user in Windows Server 2019

Conclusion

Congratulations, You have successfully changed the password of a user in Windows Server 2019.

The post How To Change User Password in Windows Server 2019 appeared first on TecAdmin.

]]>
https://tecadmin.net/how-to-change-user-password-in-windows-server-2019/feed/ 0