> Still same error even if I used -U option. > > I tried even groupadd but still I get below error. Can you try this: EXTRA_USERS_PARAMS = "useradd -r -s /sbin/nologin user1;" According to my man page: By default, a group will also be created for the new user <username> must be last -r also implies -M Michel