Notifications
Clear all
General Info
3
Posts
3
Users
1
Reactions
450
Views
Topic starter
10/23/2023 16:17
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?
10/25/2023 15:56
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';\""
Md. Shariful Islam reacted