You are not logged in.

#1 2023-09-10 09:14:54

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Failure of adding group users [Solved]

After latest update I am now getting this error under chroot

useradd: group 'users' does not exist
useradd: the GROUP= configuration in /etc/default/useradd will be ignored
useradd: group 'wheel' does not exist

in /etc/default/useradd

# Default values for useradd(8)
#
# The SHELL variable specifies the default login shell on your
# system.
SHELL=/bin/bash

# The default group for users
GROUP=users

# The default home directory.
HOME=/home

# The number of days after a password expires until the account is permanently
# disabled
INACTIVE=-1

# The default expire date
EXPIRE=

# The SKEL variable specifies the directory containing "skeletal" user files;
# in other words, files such as a sample .profile that will be copied to the
# new user's home directory when it is created.
SKEL=/etc/skel

# Defines whether the mail spool should be created while
# creating the account
CREATE_MAIL_SPOOL=no

Checked wiki and now know group users is not a good idea, so am guessing the file above is out of date?

Shadow is up to date...

pacman -Qo /etc/default/useradd
/etc/default/useradd is owned by shadow 4.13-2

Wondered if anyone else is having problems with this?

Last edited by Mr Green (2023-09-10 14:02:15)


Mr Green

Offline

#2 2023-09-10 09:40:52

loqs
Member
Registered: 2014-03-06
Posts: 17,453

Re: Failure of adding group users [Solved]

Online

#3 2023-09-10 10:04:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Failure of adding group users [Solved]

Thank you, will mark as Solved once it is fixed....

Last edited by Mr Green (2023-09-10 10:10:37)


Mr Green

Offline

#4 2023-09-10 13:29:33

loqs
Member
Registered: 2014-03-06
Posts: 17,453

Re: Failure of adding group users [Solved]

The issue should be fixed by systemd 254.3-1 now in core.  The broken chroot needs to be recreated or you could try entering it once with nspawn rather than chroot.

Online

#5 2023-09-10 14:02:01

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Failure of adding group users [Solved]

Yes update fixed issue, marking as solved.

Thanks again ;-)


Mr Green

Offline

Board footer

Powered by FluxBB