2316
Comment:
|
2043
|
Deletions are marked like this. | Additions are marked like this. |
Line 49: | Line 49: |
curl -o MountAfs http://snap.stanford.edu/moin/KerberosMacElCapitan?action=AttachFile&do=get&target=MountAfs | curl -o MountAfs "http://snap.stanford.edu/moin/KerberosMacElCapitan?action=AttachFile&do=get&target=MountAfs" |
Line 67: | Line 67: |
Open the '''Kerberos Commander'''. Enter your username, make sure to spell out the domain name (CS.STANFORD.EDU) in capital letters, e.g. | Run the script. Once you see the '''AFS up and running''' message you can access your files on AFS. If you'd like to create a shortcut to your files in your Mac home directory you can open a terminal and run: |
Line 70: | Line 70: |
jsmith@CS.STANFORD.EDU | ln -s /afs/cs/u/your_csid afshome |
Line 72: | Line 72: |
Enter your password too. Once the '''Kerberos Commander''' displays the successfully obtained credentials use the '''Get New AFS Token''' button. {{attachment:001.png}} ==== #9 ==== You can now find your home directory under under the /afs directory: {{{ /afs/cs/u/jsmith }}} You can make an alias to that directory for easier access. |
AFS on Mac OS X El Capitan / 10.11.1
#1
Download the Auristor client for Mac OS X El Capitan here or grab it from here.
#2
Open the downloaded image file (dmg) and double-click the Auristor-Lite.pkg icon to start the installation.
scr#1
#3
Enter cs.stanford.edu for your local cell name and cs for your local cell alias.
scr#2
#4
You'll be prompted for your account password to allow the installation. This is the password to your account on your Mac.
- scr#3
#5
Copy the krb5.conf file from here to your /etc directory. Since you'll probably run into a privilege issue we suggest you open a Terminal window and run:
sudo curl -o /etc/krb5.conf "http://snap.stanford.edu/moin/KerberosMacElCapitan?action=AttachFile&do=get&target=krb5.conf"
#6
Reboot the system.
#7
Obtaining credentials is not as user friendly as it used to be. Here's how you can do it manually... Open a Terminal window then run:
kinit your_csid@CS.STANFORD.EDU aklog
Alternatively you can grab this script and save it to your home directory and make it executable. Open a Terminal window:
curl -o MountAfs "http://snap.stanford.edu/moin/KerberosMacElCapitan?action=AttachFile&do=get&target=MountAfs" chmod +x MountAfs
Use your favorite text editor and make sure you enter your CSID on the 3rd line of the script:
# /usr/bin/env bash ## Enter your CSID here CSID="tpenny" ...
Now you can even make a shortcut to that script on the dock.
#8
Run the script. Once you see the AFS up and running message you can access your files on AFS. If you'd like to create a shortcut to your files in your Mac home directory you can open a terminal and run:
ln -s /afs/cs/u/your_csid afshome