Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    10

    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) }'`
    
    switch( $osv )
    case 'Linux2':
    case 'SunOS5':

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Posts
    10
    Anyone wants to take a shot at this ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...