/unsw: Difference between revisions

From techdocs
Jump to navigation Jump to search
(Created page with "The <code>/unsw</code> top-level directory on all user-loginable New World hosts is a file system mount point managed by the <code>autofs</code> automounter. When a user tries to access <code>/unsw/''zID''</code>, where <code>zID</code> is that same user's own UNSW zID, the automounter will attempt to mount that user's UNSW home folder ('''not''' CSE home directory) at that location. This gives the user transparent read/write access to their UNSW home folder from CS...")
 
No edit summary
Line 6: Line 6:


If the user attempts to access the <code>/unsw/''zID''</code> path without their Kerberos credential being available, the mount will fail and the user will need to wait for a timeout (how long?) to expire before they can try again (after, presumably, setting up their credentials.
If the user attempts to access the <code>/unsw/''zID''</code> path without their Kerberos credential being available, the mount will fail and the user will need to wait for a timeout (how long?) to expire before they can try again (after, presumably, setting up their credentials.
== Important files ==


* <code>/etc/auto.master</code>
* <code>/etc/auto.master</code>

Revision as of 18:40, 29 March 2023

The /unsw top-level directory on all user-loginable New World hosts is a file system mount point managed by the autofs automounter.

When a user tries to access /unsw/zID, where zID is that same user's own UNSW zID, the automounter will attempt to mount that user's UNSW home folder (not CSE home directory) at that location. This gives the user transparent read/write access to their UNSW home folder from CSE hosts via the /unsw/zID path.

Caveat: The user's Kerberos credentials need to be available on the CSE host for the mount to succeed. These credentials are automatically generated when the user logs using their zID via a VLAB GUI interface or on the console of a physical lab computer. If the user logs in via SSH, they'll instead need to set up their Kerberos credentials manually by running kinit zID in a terminal window and providing their UNSW zPass as password.

If the user attempts to access the /unsw/zID path without their Kerberos credential being available, the mount will fail and the user will need to wait for a timeout (how long?) to expire before they can try again (after, presumably, setting up their credentials.

Important files

  • /etc/auto.master
  • /etc/request-key.d/cifs-spnego.conf
  • /usr/sbin/cifs.upcall
  • /usr/local/infrastructure/bin/autofs_unsw.sh
  • /usr/local/infrastructure/bin/cifs_upcall_shim.sh