Re: Starting user UIDs at 1000 - please check your packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 20, 2011 at 10:55 PM, James Antill <james@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, 2011-07-20 at 18:28 +0200, Miloslav Trmač wrote:
>> On Wed, Jul 20, 2011 at 6:24 PM, Ric Wheeler <rwheeler@xxxxxxxxxx> wrote:
>> > I normally build systems with (at least!) a separate /boot, / and /home.
>> > This lets me do a full install, blow away old fedora system partitions and
>> > not lose any user data.
>> >
>> > Since that puts down a pristine F16 image, does that mean we need to chown
>> > all of the user files that survive in a separate partition?
>> Either chown the files, or create a kickstart file that puts
>> /etc/login.defs in place in a %pre script.  chown is probably much
>> simpler unless you have many systems to manage.
>
>  Is it really necessary to change this in %pre ... can't you just copy
> your old login.defs file over the installed one during kickstart %post
> (or even do it by hand, post install)?

Unfortunately it is necessary to do it in %pre because users and
groups created in package scriptlets without specifiying an UID/GID
explicitly get assigned 999, 998, ... .
    Mirek
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux