Changing home directory
Hello All:
I have an LDAP server that is used for authentication. Now the home directory id set to : /export/home/user1 . But I am logging in to different machines Solaris, Linux. The problem is I want the home directory to change depending on the os version (e.g. /export/home/user1/linux). Can I do it in the .cshrc or .login ? I have gotten this far - Please help ... Code:
set osv = `uname -a | awk '{ print $1 substr($3,1,1) }'` |
well you couldn't do it in a dot file as that would be inside home. There's no nice way to do it really. You could have different attributes within ldap for each OS i guess, alternatively in your ldap.conf you can mangle variables to a certain extent, I can't remember off hand exactly how much though, possibly not enough to be off use to you.
|
All times are GMT -5. The time now is 06:38 AM. |