You need to use HP-UX commands, rather than HP
SMH.
Create
a home directory for the root user. This
directory must reside in the system root directory (/), since it must be available whenever the system is running. A useful
directory name is /homeroot. Create it and make
it accessible only by root.
# mkdir /homeroot# chmod 700 /homeroot
Modify /etc/passwd to make this new directory the home directory
for the root user, as follows. The steps
are shown in the example below.