I want to create a group "testGroup" and a user "testUser" in Linux, but failed. Error message: Error executing action <addgrouptouser>. I have added the group and the user first. In /etc/group, there is: testGroup:!:1001:testUser. In /etc/passwd, there is: testUser:x:1002:100::/home/testUser:/bin/bash. It seems the "testUser" has added to "testGroup", but the installation abort with failure. Moreover, my original intention is create a user "testUser" in group "testGroup", such as in /etc/passwd: testUser:x:1002:1001::/home/testUser:/bin/bash. What can I do? Thank you!

asked 12 Apr '13, 01:57

Hetiu's gravatar image

accept rate: 0%

It is not possible to specify main group that the user should be added to.

However, you can run useradd command manually to create the new user. Almost all of the useradd flags are compatible across Linux distributions, so if you want more customization in group(s) the user is created with, this may be a better option for you.

Also, could you run the installer with --debugtrace debug.txt and send the debug.txt file to support@bitrock.com ? We will analyze the error that you have received.


answered 12 Apr '13, 11:05

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Thank you.

(14 Apr '13, 21:12) Hetiu
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 12 Apr '13, 01:57

Seen: 734 times

Last updated: 14 Apr '13, 21:12