栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Gerrit Set-Account

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Gerrit Set-Account

使用Gerrit set-account命令可以对Gerrit用户进行配置、查询信息等操作

帮助命令:ssh -p 29418 user@192.168.1.1 gerrit set-account --help

gerrit set-account USER [--] [--active] [--add-email EMAIL] [--add-ssh-key -|KEY] [--clear-http-password] [--delete-email EMAIL] [--delete-ssh-key -|KEY] [--full-name NAME] [--generate-http-password] [--help (-h)] [--http-password PASSWORD] [--inactive] [--preferred-email EMAIL] [--trace] [--trace-id VAL]

 USER                     : full name, email-address, ssh username or account id
 --                       : end of options (default: false)
 --active                 : set account's state to active (default: false)
 --add-email EMAIL        : email addresses to add to the account
 --add-ssh-key -|KEY      : public keys to add to the account
 --clear-http-password    : clear HTTP password for the account (default: false)
 --delete-email EMAIL     : email addresses to delete from the account
 --delete-ssh-key -|KEY   : public keys to delete from the account
 --full-name NAME         : display name of the account
 --generate-http-password : generate a new HTTP password for the account
                            (default: false)
 --help (-h)              : display this help text (default: true)
 --http-password PASSWORD : password for HTTP authentication for the account
 --inactive               : set account's state to inactive (default: false)
 --preferred-email EMAIL  : a registered email address from the account
 --trace                  : enable request tracing (default: false)
 --trace-id VAL           : trace ID (can only be set if --trace was set too)

生成用户http密码:

ssh -p 29418 user@192.168.1.1 gerrit set-account user --generate-http-password

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/334697.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号