I wanted to change the home dir for a user, but when using smh :
SMH->Accounts for Users and Groups->Local Users->Modify User
----------------------------------------------------------------------------------------------------------------------------------------------
* Required Field
*Login Name : ictprod____________
User ID : 115________________
Allow duplicate User ID : No ->
Primary Group : users______________
[ Change Primary Group ]
Home Directory : /data/ICTPRD/bmd1__
Create Home Directory : No ->
Start-Up Program Options : (X) Select Start-Up Program
( ) Specify Start-Up Program
Start-Up Program : /sbin/sh ->
Comments : ___________________
(Real Name, Location, Phone, Home Phone)
Password Options : No Restrictions (Normal Behavior) ->
[ Modify ] [ Preview ] [ Cancel ] [ Help ]
Then when clicking on modify, I got:
'/data/ICTPRD/bmd1' is not a valid directory
Command Unsuccessful
press enter Key to continue
But a home directory should be read write for the owner...
I am not saying its impossible but in that case the behaviour can be unpredictable...
For instance what happens when /home (where user should be by default...) is full?
I varies between cant connect to connected at / which is readonly ( and you have the system defautl profile without history etc...).
What you should do since its a file system:
1) umount the file system, and be sure its set to root as it is now (755) or even better 555 ( but is this a true user or an application UID because some apps dont like at all to be readonly...) then mount the file system and change he owner to the correct user if its an app you would usually use 775 or 771 ... with group to <appgrp>...
This is to prevent in case of file system not present that user connect and fill in the directory ( which is usually on /...) and risk corrupting the whole server's behavious ( I saw some crash...).