Where do zone installation default files come from?
After installation, the non-global zone /etc directory is populated with “empty” files. No users defined in /etc/passwd, no groups in /etc/group,… So these files can obviously not be copied from the Global zone at zone install time. Because the granularity of the installation is the package, looking in the package database gives good results. #grep /etc/passwd /var/sadm/install/contents /etc/passwd e passwd 0644 root sys 580 48298 1127200974 SUNWcsr tells that the /etc/passwd file is part of the SUNWcsr package. Looking inside the directory /var/sadm/pkg/SUNWcsr/save, we find those files that will be saved in case of a patch modifying the package. And the passwd file will be located in /var/sadm/pkg/SUNWnfscr/save/pspool/SUNWcsr/reloc/etc Note : modifying these files to get customized etc files after zone installation is not the way to go! Go for scripts.
Related Questions
- When using a default interface, are the WSDL and XSD files used by the SSE during the service execution or just for the workflow generation/compilation?
- How do I change the default Local Place settings to the correct date, time, place and time zone for where I live?
- What files and folders are in the Keep Zone after installation?