RSS
 

Archive for the ‘Tips and Tricks’ Category

Securing your files from unauthorised access with Ubuntu

05 Oct

We are all paranoid about our files. Aren’t we? Whether if they contain personal information or classified information, there is a certain degree of concern we have. However with the advent of digital age, it is not that we can simply put them in lockers and guard them. Indeed you can lock your PC and disconnect it from network access, but what’s the point of using a computer to store your documents, use paper then right? Encrytion provides the way by which we can protect our files and folders. It is a method of encoding the files so that they can’t be accessed without being decoded first. For this we need a pass phrase (read: password). Thus the goal to stop the unauthorised individuals from accessing your critical documents is achieved. Ubuntu allows encryption and decryption of files and folders, but Ubuntu (at least the latest versions) have the ability to create an encrypted file store in which files are automatically encrypted and the process is entirely invisible from the user’s perspective.

Create an Encrypted private/ directory

Ubuntu has the ability that allows encryption of files “on the fly”. With this method, only the user who’s home directory the ~/private directory is residing, can access those files. No body else can access those files. That is a certain loophole of users being able to use a Live CD for accessing the files is largely eliminated. Now in order to go further, you need to install the required packages. I would suggest using the terminal since that would be quicker. :p

sudo apt-get install ecryptfs-utils

Now set up the pass phrase such by running this command.

ecrpytfs-setup-private

You would be asked your login password for running this command. Next it will ask you the pass phrase, i.e. the mount pass phrase. Keep in mind that the mount pass phrase is not same as login password and also that you have to remember the passphrase in case you need to unlock the files manually at a future date. Once you have finished running the commands, log out and then log back in again. After logging in, you’ll find on opening the home directory that there’s a new private folder. This private folder will store all the files within itself encrypted and thus the files within it cannot be accessed without authority, i.e. only the original user can access it.

Read the rest of this entry »

 

Unrar and Unzip

07 Sep

For those who are facing problems in extract RAR archives, here is a solution

sudo apt-get install unrar

Unfortunately, RAR is a proprietary archive format. There aren’t very good free and native tools to create RAR archives in Ubuntu. You can try WinRar in Wine though. WinRar actually works flawlessly in Wine.

Similarly, for extracting and creating ZIP archives, you have to do:

sudo apt-get install zip unzip

;)

 

Time Conflicts..!!!

18 Jun

Since many of our users might not have completely migrated from Windows they probably be facing some time issues when they login into Ubutnu & then login back into Windows.
Well thats because Ubuntu treats your default time to be UTC (Universal Time Coordinated or GMT).

Change The Time...!!!

So to adjust the time such that the time remains sam in both the cases do the following:

1) Press Alt+F2 (remember the shortcut)
2) Type (else copy paste)

gksu gedit /etc/default/rcS

3) Enter the password and a gedit (almost same as Notepad for windows) window will pop up.
4) Search for UTC and set UTC=yes or UTC=no (or accordingly how you wish)
5) Reboot and you are done..!!!!
Happy Synchronization

Note: sudo or gksu both are for running commands as root. gksu is preferred if you want to use GUI.