修改linux系統(tǒng)postgres用戶的密碼
PostgreSQL會創(chuàng)建一個默認的linux用戶postgres狠半,修改該用戶密碼的方法如下:
1.步驟一:刪除用戶postgres的密碼
sudo passwd -d postgres
提示你輸入密碼
2.步驟二:設置用戶postgres的密碼
sudo -u postgres passwd
image.png
修改linux系統(tǒng)postgres用戶的密碼
PostgreSQL會創(chuàng)建一個默認的linux用戶postgres狠半,修改該用戶密碼的方法如下:
1.步驟一:刪除用戶postgres的密碼
sudo passwd -d postgres
2.步驟二:設置用戶postgres的密碼
sudo -u postgres passwd