LFS-20070209 shadow not playing nice with more_control_pkg_man
yardcat at comcast.net
Wed Feb 14 10:53:52 PST 2007
Galaxy Travel wrote:
> ----- Original Message -----
> From: "Arden" <yardcat at comcast.net>
> To: "LFS Support List" <lfs-support at linuxfromscratch.org>
> Sent: Wednesday, February 14, 2007 1:01 PM
> Subject: LFS-20070209 shadow not playing nice with more_control_pkg_man
>> After installing shadow-4.0.17, with the more_control_and_pkg_man
>> scripts, and creating a pkgusr for the following packages I see this;
>> useradd:unknown GID 1000
>> mail group doesn't exist
>> creating file 0600 mail
>> --or something very close to that. It creates a mail file in
>> /var/mail/<pkgusr> and looking at /etc/shadow the new pkgusr has an !
>> where there should be an x, indicating something isn't right.
>> Changing /etc/default/useradd
>> GROUP=1000 to 100
>> CREATE_MAIL_SPOOL=yes to no, if I run useradd -D the first line is
>> useradd: unknown GID 100
>> then dispalys the file. I'm not sure if this is going to cause me
>> problems or not. Any suggestions?
>> also glibc-2.5 wants to replace the linux-header file
>> /usr/include/scsi/sg.h with it's own.
> Did you do this?
> Why would you want users at 100?
> groupadd -g 1000 grp1000 (thats for UID 1000)
I was going by the explanation from the blfs book
The default UID_MIN value is 1000 and the default GID_MIN value is 100.
More information about the lfs-support