Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to access file path from another server? Post 302984561 by rbatte1 on Thursday 27th of October 2016 09:08:20 AM
Old 10-27-2016
You would need to share from Server A the path /aaa/bbb/ccc
Then you can mount it from Client B by naming the server and share as device in your mount command.

The usual method would be Network File System (NFS) but there could be others and implementation varies between flavours, so we would need to know what OS and version are you using?

Can you show us the output from uname -a


Kind regards,
Robin
 

9 More Discussions You Might Find Interesting

1. Linux

userid access to a single path

Hi All, Can a user-a on linux be able to access to particular path only? I think is not possible because if the /etc have r on the other then user-a can access it. Right? Thanks for any comment you have will add. (1 Reply)
Discussion started by: itik
1 Replies

2. Shell Programming and Scripting

Can a script runned in local server access remote server?

Hi, Im creating a script that is supposed to run commands on remote server using sftp. My script is as below: #!/bin/ksh sftp remote_server mypassword cd /u08/mydir/allfiles mget * .. But this is what I got when I runned the script: Connecting to remote server...... (3 Replies)
Discussion started by: luna_soleil
3 Replies

3. UNIX for Dummies Questions & Answers

Access of Microsoft Team Foundation Server (TFS) repository from Unix Server

Hello, Some of our application team uses Microsoft Team Foundation server (TFS) reposity tool for their .NET projects , I would like to access it form Unix/Linux machine. Please let me know how can access the TFS from unix. Thanks (0 Replies)
Discussion started by: posix
0 Replies

4. Shell Programming and Scripting

Wait for file to get copied in server path and then proceed

Hi, I have a requirement to create below script: Script must run infinitely in background. It will check a particular type of file to be copied in specific folder of server Script must wait till any file gets fully copied ..(important) and then It will read that file Experts please... (4 Replies)
Discussion started by: Vikash163
4 Replies

5. Shell Programming and Scripting

Multi server access through remote server using ssh

Team, Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress one at a time and login as below for that specific ip address ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in> password features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies

6. Proxy Server

How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access?

Dear all experts here, :) I would like to install a proxy server on Linux server to perform solely to control the access of Web server. In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server. I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies

7. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

8. Solaris

Access to one path!

Hi All, I have question and I need someone to help me in this regard:) I have Solaris 11 I have created user called : appuser appuser member to staff group actually I have this system \app\sys\system\bin\logs I want appuser to have access only to this path... (1 Reply)
Discussion started by: nsnaa
1 Replies

9. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
sharing(8)						    BSD System Manager's Manual 						sharing(8)

NAME
sharing -- create share points for afp and smb services. SYNOPSIS
sharing [-a <path> [options]] [-e <share point name> [options]] [-r <share point name>] [-l] DESCRIPTION
A list of flags and their descriptions: -a <path> Add a new share point for the directory specified by <path>. -e <share point name> Edit the share point record specified by <share point name>. -r <share point name> Delete the share point record specified by <share point name>. -l List all existing share point records. The following options modify share point record attributes: -A <afp name> Use customized name <afp name> when using share point with afp. -S <smb name> Use customized name <smb name> when using share points with smb. -s <flags> Use this option to enable and disable sharing via afp and smb. By default a share point is enabled for afp and smb protocols. To enable and disable particular services, combine (binary AND) the following flags as required: 100 (enable sharing for afp) and 001 (enable sharing for smb). Specify 000 to turn off sharing of a share point altogether. -g <guest flag> Use this option to enable and disable guest access for afp and smb. By default guest access is enabled for afp and smb. To enable and disable guest access to particular services, combine (binary AND) the following flags as required: 100 (enable guest for afp) and 001 (enable guest for smb). Specify 000 to turn off guest access for a share point altogether. -i <inherit privileges flag> Use this option to enable and disable the "inherit privileges" attribute for afp. By default "inherit privileges" is enabled for afp. To enable "inherit privileges", combine (binary AND) the following flags as required: 10 ("inherit privileges" for afp). Specify 00 to turn off "inherit privileges" for a share point altogether. -n <customized record name> Specify a <customized record name> to be used as the share point record name. By default the record name is the name of the direc- tory pointed to by the share point record. This directory is specified by the <path> when the record is created. EXAMPLES
/usr/sbin/sharing -a /SomePath/ShareThisDirectory This example shows how to create a share point for the directory "/SomePath/ShareThisDirectory": /usr/sbin/sharing -e ShareThisDirectory -A SP1 -g 101 This example shows how to edit the share point record created above, adding a customized name "SP1" for afp servies, and enabling guest access only for afp and smb. FILES
/usr/sbin/sharing location of tool macOS June 1, 2019 macOS
All times are GMT -4. The time now is 07:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy