I'm trying to access a shared network server via terminal on the Mac.

I can obviously access directories on the same system using just the command cd (e.g. cd /Applications) but our shared network I just can't work out how to get to?

I'm starting to wonder if it's a security issue that would prevent a user from seeing/accessing it.

2

5 Answers

I suspect the volume has to be mounted first before you'll be able to acces it.

% cd /Volumes/[you server/volume name here]/Users/Shared/ 

Or you should use ssh.

3
cd /Volumes 

there you will find all mounted volumes. There will also be the network-volumes.

2

Use command df to show all mounted volume.

Have a look in your root directory under Volumes.

In your server ( or where the shared directory is ), add a Samba user and set a password for it:

sudo smbpasswd -a [SharedVolumeName] 

Then you can use that user ( SharedVolumeName ) and the password you entered to authenticate and access the shared drive.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy