HP-UX 11i Version 2 June 2007 Release Notes

Commands and System Calls
usermod Command Enhancement (Restricted Movement of Home Directories)
Chapter 9
196
NOTE This usermod command enhancement (Restricted Movement of Home Directories) is
available on the Software Pack (SPK) media for June 2007. For more information about
SPK, see “Software Pack (Optional HP-UX 11i v2 Core Enhancements)” on page 27.
Summary of Change
The usermod (1M) command, with the -m option, moves the user's home directory
mentioned in the command line.
In this enhancement, usermod (1M) has been modified to selectively prevent the
movement of home directories with the -m option. If this “Restricted Movement of Home
Directories” feature is installed, a configuration file /etc/default/usermod is installed
on the system and the movement of “/” is restricted by default. System administrators
can add home directories to the /etc/default/usermod file to restrict the movement of
home directories with the -m option.
Impact
The usermod (1M) command has been enhanced to enable customers to selectively
prevent the movement of home directories with the -m option.
Compatibility
There are no known compatibility issues.
Performance
There are no known performance issues.
Documentation
For further information, see the usermod (1M) and usermod (4) manpages
Obsolescence
Not applicable.