Category ArchiveComputers
Computers & BSD/Linux & Tutorials REDBEARD0x0A on 02 Jul 2008
OpenSolaris Make /home useable
OpenSolaris has a very nice feature called automount that, when implemented, seems to be a very promising feature, however if you only have one or two servers or don’t want a ‘roaming’ home directory, then you can disable it.
The error you receive if you try to create a directory in /home will look like this:
mkdir: cannot create directory `/home/x': Operation not applicable
edit /etc/auto_master and comment out the line that has auto_home on it.
# Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse #/home auto_home -nobrowse
rename the /etc/auto_home file to something else:
root@server:~# mv /etc/auto_home /etc/auto_home_disabled
Restart the autofs service and unmount the auto mounted /home:
root@server:~# svcadm refresh autofs root@server:~# umount /home
You should now be able to use the /home directory like you are used to (you may need to change permissions on the directory.
Computers & BSD/Linux & Development REDBEARD0x0A on 16 Oct 2007