Posts

Showing posts from 2015

Solaris New user

New user Sun/Oracle Solaris If you've had some experience with Solaris you probably know, that there is something different with users home comparing to the others unix-like systems. The main idea is that  /export/home  is for local users, and is physically located on your computer, while  /home  is managed by  autofs  and has mounted user directories that are shared with  NFS . What's probably most suitable for you: Make a new user and create his home directory in  /export/home : useradd -d /export/home/testuser -m testuser Change it's home directory to  /home : usermod -d /home/testuser testuser Put a new line it  /etc/auto_home  like this one: testuser     localhost:/export/home/& which says to mount a directory of user  testuser  that is located on the NFS server called  localhost  and is located in the  /export/home/&  directory. Ampersand is a variable that will be ha...