updatehome reads the user's minimum-label copy and link-control files (.copy_files and .link_files), which contain a list of files to be copied and symbolically linked from the user's minimum-label home directory to the user's home directory at the current label.
The Trusted Solaris dtsession performs an updatehome whenever a newly labeled workspace is created so that the user's favorite files are available for use. For example, the user probably wants a symlink to such files as .profile, .login, .cshrc, .exrc, .mailrc, and ~/bin. updatehome provides a convenient mechanism for accomplishing this symlink. The user may add files to those to be copied (.copy_files) and to those to be symbolically linked (.link_files).
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
Replace existing home-directory copies at the current label. (The default is to skip over existing copies.)
Ignore errors encountered. (The default aborts on error.)
Replace existing home-directory copies or symbolic links at the current label. This option implies options -c and -s. (The default is to skip over existing copies or symbolic links.)
Replace existing home-directory symbolic links at the current label. (The default is to skip over existing symbolic links.)
Upon success, updatehome returns 0. Upon failure, updatehome returns 1 and writes diagnostic messages to standard error.
The files listed in .copy_files can be modified at every user's label.
.cshrc .mailrc .netscape/bookmarks.html
The files listed in .link_files can be modified at the lowest label, and the changes will propagate to the other labels available to the user.
~/bin .netscape/preferences .xrc .rhosts
List of files to be copied
List of files to be symbolically linked