net user test pass /add
runas /profile /env /user:test "initdb testdb"
runas /profile /env /user:test "postmaster -i -D testdb"
runas /profile /env /user:test "initdb testdb"
runas /profile /env /user:test "postmaster -i -D testdb"
本文介绍了一种使用 runas/profile/env 方法来设置特定用户的环境变量,包括初始化数据库测试和 postmaster 参数配置等内容。
423

被折叠的 条评论
为什么被折叠?



