Friday, July 4, 2014

How to Hide Userlist from Login Screen in Ubuntu/debian Linux

How to Hide Userlist from  Login Screen in Ubuntu/debian Linux


For Hiding User list you need to edit lightdm configuration file.

$   sudo vi  /etc/lightdm/lightdm.conf

Add the following line to the bottom of the file

    greeter-hide-users=true

 Save the file and reboot your system .

  Now the  user list will be hidden

Tuesday, April 29, 2014

How to Install Graphical (GUI ) Users & Groups Management Tool in Ubuntu 12.04

How to Install Graphical (GUI ) Users & Groups Management Tool in Ubuntu 12.04

The old Gnome User and Groups management tool is not available  in Ubuntu 12.04 LTS.


There is User Accounts available  under the System setting, but  you cannot administer groups.

You can solve this problem by installing the utility gnome-system-tools which is available in Ubuntu software repository.

How to install gnome-system-tools

Open a terminal and run the following command . or install it using synaptic Package manger.

$ sudo apt-get install gnome-system-tools
 
 
 

Tuesday, April 22, 2014

How to take system backup Using tar command in Ubuntu Linux




How to take system backup Using tar command in Ubuntu Linux


The following is an exemplary command of how to archive your system.
tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --one-file-system / 
To understand what is going on, we will dissect each part of the command.
  • tar - is the command that creates the archive. It is modified by each letter immediately following, each is explained bellow.
    • c - create a new backup archive.
    • v - verbose mode, tar will print what it's doing to the screen.
    • p - preserves the permissions of the files put in the archive for restoration later.
    • z - compress the backup file with 'gzip' to make it smaller.
    • f - specifies where to store the backup, backup.tar.gz is the filename used in this example. It will be stored in the current working directory, the one you set when you used the cd command.
  • --exclude=/example/path - The options following this model instruct tar what directories NOT to backup. We don't want to backup everything since some directories aren't very useful to include. The first exclusion rule directs tar not to back itself up, this is important to avoid errors during the operation.
  • --one-file-system - Do not include files on a different filesystem. If you want other filesystems, such as a /home partition, or external media mounted in /media backed up, you either need to back them up separately, or omit this flag. If you do omit this flag, you will need to add several more --exclude= arguments to avoid filesystems you do not want. These would be /proc, /sys, /mnt, /media, /run and /dev directories in root.