gid users=1000

Elan Ruusamäe glen at delfi.ee
Mon May 2 11:36:13 CEST 2005


hi

any place to make the usermod to change users gid to 1000 (pld way)?

%pre of setup?

it's 100 in redhat/fedora, and therefore useradd keeps saying error (and even 
in case -u and -g are used in useradd command)

# useradd -u 666 -g 1 plah
useradd: unknown gid 1000

# id plah
uid=666(plah) gid=1(bin) groups=1(bin)

# rpm -qf `which useradd`
shadow-4.0.4.1-3

# grep 1000 /etc/group
# grep users /etc/group
users:x:100:

probably could just change /etc/default/useradd to contain 100 not 1000, so 
perhaps fix %post of shadow package to verify gid of users group?

-- 
glen




More information about the pld-devel-en mailing list