Official Ubuntu circle with wordmark. Replace File:Former Ubuntu logo.svg. Español: logo de Ubuntu + marca denominativa Français : Logo officiel d’Ubuntu. Remplace File:Former Ubuntu logo.svg. (Photo credit: Wikipedia)
Hi guys. Some people prefer to not have to intervene at all with the update and upgrade processes of their Ubuntu system, because they rather have the system to be automatically updated and upgraded itself and just logged the progresses to a log file, in silence. Of course, there are other people who prefer to have Ubuntu asks them for permission to upgrade through graphical user interface, and this is fine too. Nonetheless, I like the former idea better. Therefore, if you want to have Ubuntu automatically updates and upgrades itself without making a single fuss, then you should watch this video. For your information, in this video, I will use aptitude command line instead of apt-get command line to allow Ubuntu system to be up to date. How come? Well, let just say I prefer aptitude package manager over apt-get package manager. Nonetheless, you can just switch out the aptitude commands for apt-get commands, and you will still be able to achieve the same goal. Enjoy this educational video!!!
Linux Mint (Photo credit: Wikipedia)
Sometimes, conveniency is the problem. So, the question is how do I disable automatic login for Linux Mint 13? When I tried to disable automatic login for Linux Mint 13 through graphical user interface and it failed to do just that. I scratched my head. Looked around the web and some Linux users suggested that I could totally edit the mdm.conf file. This was what I did and it worked. Here is how:
- Open up a terminal
- Do [sudo -i] and type in your sudo password (i.e., a user who has the authorization to become administrator through sudo command). By the way, do not use the square brackets in your command line as they’re there for clarity only.
- Type in the command [cp -p -a /etc/mdm/mdm.conf /etc/mdm/mdm.conf-old]. What this command does is to create a copy of the file you about to edit. By doing this, you can recover the file when you completely mess up the original file. It’s a security measure that all Linux users should practice when editing an important file.
- Type in the command [vim.tiny /etc/mdm/mdm.conf].
- Hit letter [i] on the keyboard to enter editing mode.
- Find the line which says AutomaticLoginEnable=true, and change the true part to false. It should look like this AutomaticLoginEnable=false. Make sure you know how to use vim.tiny OK? If not, try to edit the mdm.conf file with nano editor instead.
- Also, find the line which says TimedLoginEnable=true, and change the true part to false. It should look like this afterward, TimedLoginEnable=false.
- As you’re using vim.tiny editor, to save the new change of mdm.conf file, you must hit [Esc] key first, type in a colon second (i.e., [:]), type in [wq] right after the colon, and then hit enter key to save and exit the mdm.conf file. It should look like this [:wq].
- Type [exit] and hit enter key in the terminal to exit root.
- Type [exit] and hit the enter key again to exit the terminal altogether.
Image via Wikipedia
I think many Linux beginners might have the fear in learning how to use command lines on Linux. Instead of playing with command lines on Linux, many Linux beginners might just stick to popular graphical user interfaces that come along with the popular Linux distributions. Of course, there is nothing wrong with this! Unfortunately, sometimes, there are things on Linux can only be done through command lines, therefore some basic knowledge of command lines on Linux would be useful in the long run.
In the video right after the break, I won’t go into how to use specific Linux command lines, because I might create short videos but full of detailed instructions for essential command lines in the future. This is why you may find me giving Linux beginners a pep talk and some insights on how to learn command lines on Linux in the video right after the break. Enjoy!