Linux : How to set root password in Linux Mint
Alright, just a minor note for my own future reference. Just received my Dual Band USB Adapter today and encounter a minor program while trying to install the driver for Linux Mint. Apparently, by default in Linux Mint, you cannot su
or sudo
because the root
password is not set!
I understand that this is for security reason, but there are times when ability to sudo
a command can be very useful.
Therefore, in order to set the password for root
in Linux Mint, please execute
$sudo -i
and you will be prompted to set a password. This will be your root
password, so remember it!
after this you should be able to su
and sudo
in Linux Mint again.
Hope this helps!
See also : Linux/Unix : Commands that you need to be careful about
By Adam Ng(黃武俊)
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+3.8k Chrome : How to block socketloop.com links in Google SERP?
+7.7k Linux/Unix : fatal: the Postfix mail system is already running
+4.3k Gogland : Datasource explorer
+8.2k Golang : Play .WAV file from command line
+24k Golang : Convert IP address string to long ( unsigned 32-bit integer )
+15.6k Golang : How to generate QR codes?
+4.9k PHP : Get client IP address
+14.3k Golang : Get checkbox or extract multipart form data value example
+13.7k Golang : How to check if IP address is in range
+4.9k Cash Flow : 50 days to pay your credit card debt
+4.8k List of Golang XML tutorials
+15.8k Golang : Find file size(disk usage) with filepath.Walk