Authentication fail...
 
Notifications
Clear all

Authentication failure

3 Posts
3 Users
1 Reactions
386 Views
(@juanreno)
Joined: 12 months ago
Posts: 1
Topic starter  

fstcbtemail@mail:~$ su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password '$DB_ADM_PWD';\""
Password:
su: Authentication failure

why failure, i input my pass is right, why always failure?


   
Quote
(@s-guillard)
Joined: 2 years ago
Posts: 4
 

Bonjour je pense que tu dois passer root pour faire la commande tous simplement, ou alors utiliser sudo avant:

sudo su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password '$DB_ADM_PWD';\""

   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 575
 

@juanreno

Hi,

@s-guillard pointed out correctly. 

Thanks and regards,

Sharif


   
ReplyQuote