How to make user sudoer in Debian & Ubuntu

Using root user for regular usage is not recommended in Linux operating systems. The common solution for this point is creating a user and register him to the sudoers group. To do this on Debian and Ubuntu systems, follow the steps below:

1. Log into the system as the root. To do that, open a terminal window and type:

$ su root

You will be asked about the root password. Give it to the system and press enter.

2. Now, it’s time to create a new user (change USER_NAME to what you prefer):

# adduser USER_NAME

Creating a strong password is something we better be aware of and after typing it, we will need to confirm it by typing it again. For the rest, you can simply press enter to leave the details blank and create at the end.

3. Type this in terminal to assign sudoer group to the user (replace USER_NAME with the user you want to make a sudoer).

# usermod -aG sudo USER_NAME

The job is already done. Let’s check it once to make sure.

4. Log out of the root’s account and log into the account you just worked on by typing the commands below in the terminal:

# exit

Don’t forget to replace USER_NAME with the relevant username:


5. Now, time to check if everything is set:

$ sudo whoami

Who Am I must return “root” and if you are getting this answer from the command, so you have upgraded the user’s group successfully. Now you can use many of “root” abilities without harming your system.


How to Turn Off Update Notification Icons in Joomla!?

This is a quick tip for those admins/developers who are a bit new to Joomla! Joomla! has a notification bar at the top of it’s first admin panel screen. When and update for Joomla! or one of the extensions that your website uses is available, a notification about that shows up on the notification bar. Since the appearance of this notifications looks like an error, warning or somehow, you may know about the update but have not done it for a reason and now, you have that ugly notification that you want to get rid of it. There may be a lot more scenarios that make you disable those notifications. In any case, the first thing you need to know is that those notifications are being controlled by 2 Joomla! System Plugins. Two plugins that are enabled by default when you install Joomla!
Know, it’s very easy for many of you to handle it. But I’ll describe it by images for you.

Turning Joomla! Update Notifications Off Step by Step

Step 1:

Login to your Joomla! administrator panel and navigate to Extensions > Plugins using the top menu.

How to Turn Off Update Notification Icons in Joomla!?

Step 2:

Type “Quick Icon Joomla! Update” in the search box and hit the Enter key. The results of this search will be the plugins we are looking for.

How to Turn Off Update Notification Icons in Joomla!?

Step 3:

Select both plugins by checking the checkboxes beside them and click the “Disable” button to deactivate them.

How to Turn Off Update Notification Icons in Joomla!?

From now on, the notification icons won’t longer appear at your control panel.
However, I’d like to ask you not to forget about updates importance!

How to Access Joomla! Base URI?

This is a quick tip about Joomla! development. Sometimes you, as a Joomla! developer need to create a link to the Joomla! base or somewhere else in Joomla! websites. If everything is stable and won’t change in the future, you can create an static link like But the more clever and predicting way to link to somewhere in Joomla! is using base uri as the starting point of the path. In this case we redo the link above like below:


As you see, the key of this subject is JURI::root(). It’s in PHP programming language and you can use it in your template/extension PHP files. The way you can use it is clearly described below.

This link is written in PHP so you can use it in your HTML code like this:

<?php echo JURI::root().’components/com_content/views’; ?>

How to Create a Contact form in Joomla!

Contact form is the most common communication solution for websites. As an administrator, you need a gate open for your visitors so they can send you their messages, feedback etc. and having a contact form on your website, covers this necessity. In this tutorials I walk you through the process of Creating a Contact form in Joomla! So, you’ll be able to create as many as contact forms for your Joomla! website, linked to the emails you’d like.
Joomla! provides a built-in component called “Contacts”. This component helps you make categories for your contacts and create as many contacts you need and put them in relevant categories. You ready to get started? So, let’s go!

Step 1: Create a Contact Category

You need a category for your contact(s) first. So, after logging into the Joomla! admin panel, go to Components > Contacts > Categories.

How to Create a Contact form in Joomla!

On the next page, click on the “New” button at the top.

How to Create a Contact form in Joomla!

In the form opened, name the category and type an alias for it. Also, you can write a description for the category if needed. Then hit the “Save & Close” button.

How to Create a Contact form in Joomla!

Step 2: Create a Contact Object

Now, you can create your contact(s) and put them to the category you created. So, go to Components > Contacts > Contacts and click the “New” button at the top of the page.

How to Create a Contact form in Joomla!

The necessary fields on this form are “Name”, “Alias” and “Email”. You can leave the rest or fill them as you’d like.

How to Create a Contact form in Joomla!

After finishing with filling the fields, press the “Save & Close” button.
You’ve created a contact so far and it’s the time to show it at the website.

Step 3: Show the Contact Form on the Website

To display the form you created, you need to create a menu item for it. So, go to Menus > “THE MENU YOU’D LIKE” > Add New Menu Item.

How to Create a Contact form in Joomla!

By clicking the link, a blank form will be loaded, letting you create your menu item. So, enter a title for the menu and write the URL you prefer for the contact page on the “Alias” field. Then press the blue “Select” button. By clicking the “Select” button, a window pops up and provides the menu types you can create. Click on the “Contacts” link and then “Single Contact”.
Make the other necessary settings for the menu item as you wish and press the “Save & Close” button.

How to Create a Contact form in Joomla!

That’s all you need to do for creating and displaying a contact form for your Joomla! website. From now on, your visitors can navigate to the form by clicking the menu item you created in the Step 3 and fill the contact form. By pressing the send button, you will receive their messages in your email inbox.

PDF/Video Version of this Tutorial:

Download this Article in PDF format Watch the video tutorial

If you found this article useful, please let others know about it, by sharing.

How to Recover Joomla! Administrator Password via PHPMyAdmin

Joomla! Administration Password Recovery

For some reasons Joomla! admin password may be lost. In this situation, the administrator needs a solution to reset his/her password in order to take the website under control again. Resetting the password will be an easy job if you still have access to the hosting account of the website. In this article we will describe, how to recover a Joomla! administration password via PHPMyAdmin.

In this article we use cPanel. Since it’s the most common hosting control panel. But this guideline can be used for other panels as well.

Reset Joomla! Password via PHPMyAdmin

1. Go to your hosting area and login.

2. Scroll down to the “Database” block and click on the “PHPMyAdmin” icon.

3. Select the database of the website by clicking on its name and wait for it to load the tables.

4. Click on the prefix_users table (prefix is the prefix of your Joomla! tables).

Joomla! Admin Password Reset

5. Find the “Super User” account and hit its “Edit” icon.

Joomla! Admin Password Recovery

Note that your website may have multiple administrator. So, pay attention to find the right user.

6. Find the “password” field and replace the hashed code below with the its current code:


Joomla! Admin Password Reset via PHPMyAdmin

7. Click the “Go” button at the bottom of the form to save changes.

Joomla! Admin Password Reset

Now, the Joomla! administrator password is admin. It’s because the hashed code you entered in the password field is actually the MD5 hashed code of the word “admin”. Some more examples go following:





Also, you can decode the password you’d like with with a MD5 hash code generator like this:

Video Version of this Tutorial:

Download this Article in PDF format Watch Video Tutorial

If you found this article useful, please let others know about it, by sharing.