Tag: Linux

How to set root password in Ubuntu?

You may have noticed that you can’t log in to root account on Ubuntu, this is because root doesn’t actually have a password set by default. So let’s find out how to set root password in Ubuntu. How to set root password in Ubuntu Type the following command: sudo passwd The following message will appear:

Configure DNS Name Server in Linux

To change existing name server IP address or to configure DNS name server IP address under Ubuntu Linux/Debian Linux, to configure DNS name resolution under Ubuntu Linux, you need to edit /etc/resolv.conf file under Debian/Ubuntu Linux to set Name server IP address that the resolver should query. Up to 3 name server internet IP address