# chmod 755 home
chmod: WARNING: can't change home
#
after I installed solaris 10, /home isn't writeable by anyone, when I try and change the permissionss as root, I get the above error.
Edit: Original permission were set to 777
# chmod 755 home
chmod: WARNING: can't change home
#
after I installed solaris 10, /home isn't writeable by anyone, when I try and change the permissionss as root, I get the above error.
Edit: Original permission were set to 777
There is no reason to change /home
permission, and especially setting them to 0777
would introduce a major security vulnerability.
You probably want to create a regular home directory for a new user. By default, Solaris is configured to have that directory stored on a shared location automounted by multiple OS instances with NFS. /home
is the mount point for these directories while on the server hosting the directories, which might be the same one, the actual directories are usually stored under /export/home/
.
You might either let this mechanism preconfigured and use /export/home
instead as base directory for your new users or permanently disable the automounter for the home directories only.
The latter is done by commenting out the line that reads
/home auto_home -nobrowse
in the /etc/auto_master
configuration file. Then restart the automounter service:
svcadm restart autofs
Make sure /home
permissions are the original ones: dr-xr-xr-x
and you are done.
From: http://www.unix.com/solaris/38623-solaris-10-home.html
Before doing chmod try as root or with sudo:
# /usr/sbin/svcadm disable -t autofs