$
createuser -hlocalhost -U postgres? -lrd -P tttEnter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) y
上面的命令就可以實現在postgres上創建用戶
刪除用戶
$
dropuser zhangyi? -U postgres -hlocalhost|----------------------------------------------------------------------------------------|
版權聲明 版權所有 @zhyiwww
引用請注明來源 http://www.tkk7.com/zhyiwww
|----------------------------------------------------------------------------------------|
posted on 2009-03-18 17:52
zhyiwww 閱讀(1467)
評論(0) 編輯 收藏 所屬分類:
linux 、
Postgres