Set SSH/FTP home directory creation options

You can configure home directory support for a user who accesses the cluster through SSH or FTP by specifying authentication provider options.

Procedure

  1. Run the following command to view settings for an Active Directory authentication provider on the cluster:
    isi auth ads list
    The system displays output similar to the following example:
    Name                 Authentication Status DC Name Site  
    ---------------------------------------------------------
    YOUR.DOMAIN.NAME.COM Yes            online -       SEA
    ---------------------------------------------------------
    Total: 1
  2. Run the isi auth ads modify command with the --home-directory-template and --create-home-directory options.
    isi auth ads modify YOUR.DOMAIN.NAME.COM \
    --home-directory-template=/ifs/home/ADS/%D/%U \
    --create-home-directory=yes
  3. Run the isi auth ads view command with the --verbose option.
    The system displays output similar to the following example:
                        Name: YOUR.DOMAIN.NAME.COM
              NetBIOS Domain: YOUR
              ...
       Create Home Directory: Yes
     Home Directory Template: /ifs/home/ADS/%D/%U
                 Login Shell: /bin/sh
  4. Run the id command.
    The system displays output similar to the following example:
    uid=1000008(<your-domain>\user_100) gid=1000000(<your-domain>\domain users) 
    groups=1000000(<your-domain>\domain users),1000024(<your-domain>\c1t),1545(Users)
  5. Optional: To verify this information from an external UNIX node, run the ssh command from an external UNIX node.
    For example, the following command would create /ifs/home/ADS/<your-domain>/user_100 if it did not previously exist:
    ssh <your-domain>\\user_100@cluster.isilon.com