以指定用户身份运行程序 发表于 2011-02-01 更新于 2026-03-03 分类于 技术分享 1su - 用户名 -c "pg_ctl start -D /var/lib/pgsql/data"