Tuesday, September 18, 2007

Ajouter un module perl

Ajouter un module perl a la ligne de commande :


perl -MCPAN -e "install Unicode::MapUTF8"

Can’t create home directory Solaris 9

Can’t create home directory

On a fresh install of Solaris, I got this error when I was trying to manually create a user’s home directory :
# cd /home
# mkdir dirabc
mkdir: Failed to make directory “dirabc”; Operation not applicable
I can’t create the /home/dirabc directory because by default automounter keeps track of any changes in /home directory. To resolve this, just comment out any line regarding /home in these two files :

/etc/autohome
/etc/automaster

Restart automounter (or reboot the system!) and you should be able to manually control the /home directory.