Skip to main content

Cornell University

Use Different Credentials on MacOS

How to switch credentials, use a terminal window, or dismount a share on MacOS.

This article applies to: Shared File Services

On This Page

Switch Credentials

To switch credentials to access your desired CIFS share, create an entry similar to the example below. Modify your entry as needed and replace SomeRestrictedShare with the name of the share you wish to access.

smb://cit-pqs655-doc:@files.cornell.edu/CIT/SomeRestrictedShare

In this example, the share is restricted to doc accounts. The entry, cit-pqs655-doc, shows that it is a doc account. It belongs to a Cornell Active Directory (AD) group that has valid CIFS ACLs to the files stored at \\files.cornell.edu\CIT\SomeRestrictedShare.

Use a Terminal Window

Use a Terminal window to see the connection mappings. The Terminal command df shows:  

Example of results for the Terminal command df

Filesystem

//cit-pqs655-doc@files.cornell.edu/CIT/
SomeRestrictedShare

512-blocks

125825016

Used

71023904

Available

54801112

Capacity

57%

iused

8877986

ifree

6850139

%iused

56%

Mounted on

/Volumes/SomeRestrictedShare

Dismount

The desired mapping may fail if a previous mapping already exists for a different account, e.g., your NetID. To dismount you can enter the following Terminal command:

Diskutil unmount /volumes/SomeRestrictedShare

Comments?

To share feedback about this page or request support, log in with your NetID

At Cornell we value your privacy. To view
our university's privacy practices, including
information use and third parties, visit University Privacy.