Re: uid1000: How to install F16 with custom login.defs
2011/11/9 Mattias Hellström : >> Why can't you do it in %post? This is exactly the type of thing it >> was intended for. >> >> http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_5._Post-installation_Script >> >> -T.C. >> -- > %post is run after all packages are installed? So by then its too late > to inject logon.defs. I think the only reasonable solution here is to package your own shadow-utils and point yum to your custom packages repo in the kickstart. -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: uid1000: How to install F16 with custom login.defs
2011/11/9 Mattias Hellström : >> Why can't you do it in %post? This is exactly the type of thing it >> was intended for. >> >> http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_5._Post-installation_Script >> >> -T.C. >> -- > %post is run after all packages are installed? So by then its too late > to inject logon.defs. Ugh, I forgot some system daemons will be installed and eat UIDs between 500-1000. Including your own shadow-utils with a modified login.defs is probably the best solution. Ideally, authconfig would gain an option to do this so that line of the kickstart could modify it. (Although anaconda might run that too late too, I don't know.) -T.C. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: uid1000: How to install F16 with custom login.defs
> Why can't you do it in %post? This is exactly the type of thing it > was intended for. > > http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_5._Post-installation_Script > > -T.C. > -- %post is run after all packages are installed? So by then its too late to inject logon.defs. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: uid1000: How to install F16 with custom login.defs
2011/11/9 Mattias Hellström : > Yes I install with kickstart. But I always do the partitioning > manually to make sure I do not format any disks I should not. > > To injet a logon.defs I would first have to format the disks,and set > up the raid (my computers are all very diffrent, so this means a > custom kickstart file for every machine) programatically in the %pre, > then mount the disk and finally inject the logon.defs while also > making sure anaconda does not reformat the disk (the graphical > anaconda forbids installing to existing partition) Why can't you do it in %post? This is exactly the type of thing it was intended for. http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_5._Post-installation_Script -T.C. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: uid1000: How to install F16 with custom login.defs
> Try installing with a kickstart file. The fedoraproject wiki has > details on syntax and how to customise. > > -- > Suvayu Yes I install with kickstart. But I always do the partitioning manually to make sure I do not format any disks I should not. To injet a logon.defs I would first have to format the disks,and set up the raid (my computers are all very diffrent, so this means a custom kickstart file for every machine) programatically in the %pre, then mount the disk and finally inject the logon.defs while also making sure anaconda does not reformat the disk (the graphical anaconda forbids installing to existing partition) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: uid1000: How to install F16 with custom login.defs
2011/11/8 Mattias Hellström : > Please elaborate on alternative solutions and my suggested plausible ones. Try installing with a kickstart file. The fedoraproject wiki has details on syntax and how to customise. -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines