Create New User with Sudo Privileges using Command-Line There are multiple ways to create new users in the…