Configuração do Django: psycopg2.OperationalError: FATAL: autenticação de peer falhou para o usuário “indivo”

Eu estou ficando problema na configuração do projeto Django com POSTGRESQL.

Aqui está minha configuração do banco de dados setting.py

DATABASES = {
    'default':{
        'ENGINE':'django.db.backends.postgresql_psycopg2', # '.postgresql_psycopg2', '.mysql', or '.oracle'
        'NAME':'indivo', # Required to be non-empty string
        'USER':'indivo', # Required to be non-empty string
        'PASSWORD':'ritvik',
        'HOST':'', # Set to empty string for localhost.
        'PORT':'', # Set to empty string for default.
        },
}

Agora, no backend postgres, o que fiz foi.

rohit@rohit-desktop:~$ sudo su - postgres
postgres@rohit-desktop:~$ createuser --superuser indivo   # create a super user indivo
postgres@rohit-desktop:~$ psql  # open psql terminal 
psql (9.1.8)
Type "help" for help.

postgres=# \password indivo  # set the password ritvik
Enter new password: 
Enter it again: 
postgres=# \q   #logout 
postgres@rohit-desktop:~$ createdb -U indivo -O indivo indivo  #create db indivo 

Infelizmente quando estou tentando syncdb estou recebendo o erro.

psycopg2.OperationalError: FATAL:  Peer authentication failed for user "indivo"

Por favor me ajude o que eu poderia estar fazendo errado aqui.

questionAnswers(4)

yourAnswerToTheQuestion