usermod.4 (2010 09)

u
usermod(4) usermod(4)
NAME
usermod: /etc/default/usermod - list of home directory names
DESCRIPTION
/etc/default/usermod
is an ASCII file that contains a list of home directory names.
The
usermod command checks this configuration file before changing a user’s home directory. If the
user’s old home directory is listed in
/etc/default/usermod
, the user’s directories/files will be
prevented from moving to a new home directory.
Each line in the file is of the form:
directory_name
consisting of entries similar to:
/home/newuser
Only system administrators can modify this configuration file to add directory entries.
Each home directory is listed in the file by its absolute path name. Directory names exceeding
PATH_MAX characters will be silently ignored by usermod
.
The behavior of the
usermod command is undefined if:
There are leading and trailing spaces in the line.
There are empty lines in the configuration file.
Symbolic links are specified instead of actual directories.
Relative paths are specified instead of actual directories.
AUTHOR
usermod was developed by HP.
FILES
/etc/default/usermod
SEE ALSO
usermod(1M), limits(5).
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)