Executing "adduser -u 1090 lkp" appear:
New password:
After usering "adduser ** --disabled-password **" appear:
Full Name []:
So use "adduser" to need too much user-information.
Signed-off-by: Hu XueJiao huxuejiao1@huawei.com --- sparrow/0-package/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sparrow/0-package/common b/sparrow/0-package/common index 1bb6861..05becdf 100755 --- a/sparrow/0-package/common +++ b/sparrow/0-package/common @@ -4,7 +4,7 @@
gem install git activesupport rest-client cucumber json faye-websocket elasticsearch
-grep -q '^lkp:' /etc/passwd || adduser -u 1090 lkp +grep -q '^lkp:' /etc/passwd || useradd -u 1090 lkp grep -q '^team:' /etc/group || groupadd team grep -q '^committer:' /etc/group || groupadd -g 1999 committer