Search code examples
debiandebdebian-basedsquashfs

customize debian live user


how can I change the home folder of default live user in a customized debian linux? what I want is:

  1. installing some packages in default installation and for live boot of debian
  2. some customization in home folder of any new user and the live default user

I know I can remaster a debian and install my package and change what I whant but what about the default user. is it influenced by my default user changes?


Solution

  • Typically when a new Linux user is created, the /etc/skel directory and its contents are copied over to create the new user's home directory. Permissions stay the same, ownership is changed to the new user and their primary group.

    In some cases, the default directories for a desktop environment - ~/Desktop, ~/Documents, ~/Downloads, etc. are NOT in /etc/skel and instead are created if they do not exist when a user first logs in to a desktop environment session.