Set up NFS Home Directories
---
On `nfs2.cse.unr.edu` in `/etc/exports`, paste the following line:
```
134.197.63.122(rw,async,no_subtree_check,sec=sys) \
134.197.62.74(rw,async,no_subtree_check,sec=sys) \
*(rw,async,no_subtree_check,sec=krb5:krb5i:krb5p) \
```
Then run `exportfs -arv` and make sure that there are no errors.
Now head over on to the node of your choice (ex: `spearmint.cse.unr.edu`, or `spearmint-0.cse.unr.edu`):
In **/etc/auto.master**, paste the following line
```/cse /etc/auto.cse````
In **/etc/auto.cse** paste the following line
```home -fstype=nfs4,intr,soft nfs2.cse.unr.edu:/exports/home```
Be sure to restart autofs. In this situation, we are using Ubuntu 18.04, so run
```lang=bash
$ /usr/sbin/service autofs restart
```
---
## Join to CSE Domain
Make sure that the following are installed
```lang=bash
$ apt install freeipa-client sssd-tools nfs-common autofs htop
```
When that's done, run
```lang=bash
$ ipa-client-install --no-ntp --server=ipa1.cse.unr.edu --domain=cse.unr.edu
```
The directories are created mounted in `/cse/home`. There should be plenty of faculty/student directories in there. To check, run
```lang=bash
# getent passwd NETID
$ getend passwd lanle
```