COPY_HOME(8) — MAINTENANCE COMMANDS
NAME
copy_home − fetch default startup files for new home directories
SYNOPSIS
/home/groupname/copy_home /home/groupname /home/username
DESCRIPTION
Whenever snap(1) is used to add a new user account, the copy_home script in the selected primary group’s home directory is executed to copy the default files to the new user’s home directory, and also perform any additional custom setup.
copy_home copies default environment files, such as .cshrc, .login, and .orgrc, from a group’s defaults directory to a new user’s home directory. It is invoked by user_agentd(8) when snap(1) is used to create new home directories on a Sun386i home directory server.
Every new group created by snap(1) has a home directory, which can be accessed via /home/groupname. user_agentd(8) copies the contents of the Sun386i’s default group, /home/users, into the home directory of the new group. This includes the Welcome.txt file, the copy_home script, and the defaultsdirectory. The copy_home script can be modified to customize the default setup environment for new users in the group.
SEE ALSO
snap(1), user_agentd(8) Sun386i SNAP Administration Sun386i Advanced Administration
Sun Release 4.0 — Last change: 15 May 1989