Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Passing User Credentials with Mount Command Post 302984064 by jduehmig on Thursday 20th of October 2016 10:15:14 AM
Old 10-20-2016
I am using MS Services for NFS so I have the NFS share available. Just need to pass credentials from the Unix side to Windows.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. Shell Programming and Scripting

User control passing parameter

there is a example: sh shell name () { echo $1 echo $2 echo $3 } echo "Enter value:" read a b c d name $a $b here permit user enter 1-4 value to the variables respectively, question is : no restrict for user input...? using only 1 variable to... (3 Replies)
Discussion started by: trynew
3 Replies

3. Linux

Secure NFS mount for a single user

We have Server 1 - mounts an NFS share from another server to a users directory. Server 2 - has NFS share and the share only allows access from Server 1. How can we make sure no other users on Server 1 can access the NFS mount? (5 Replies)
Discussion started by: Adrnalnrsh
5 Replies

4. UNIX for Dummies Questions & Answers

passing command output from one command to the next command in cshell

HI Guys, I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that 1) I need to enter these commands $ echo $DISPLAY $ setenv $DISPLAY output_of_echo_$display_command How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies

5. Web Development

How to pass user credentials between apps on the same server?

I have a wordpress site that authenticates against a local ldap database for users to login. On the same server and domain I have subsonic installed that also authenticates against the same ldap database. The ldap database is firewalled front the outside wall and the internal LAN. I would like... (3 Replies)
Discussion started by: barrydocks
3 Replies

6. Shell Programming and Scripting

perl script to open an executable and pass the user credentials

Is it possible to open an executable file and pass user credentials through the perl script. If yes Please do share the CPAN module names and the way to access the executable file. For eg. I want to open the IBM LOTUS Sametime through my perl code and pass the user credentials like... (1 Reply)
Discussion started by: giridhar276
1 Replies

7. Shell Programming and Scripting

Passing user argument

Hi all: I'm trying to pass an argument to a command but it's being difficult. #!/bin/bash set -xv if ; then echo "More than 1 argument entered" echo "Please enter a month using 3 character names, ie, Jan, Mar, Apr, Dec" && exit 1 fi if ; then echo "Please enter a month using... (2 Replies)
Discussion started by: raggmopp
2 Replies

8. AIX

Passing user/pass credentials to automountd map file.

How could I pass credentials to the automountd daemon through it's map files? Tried credentials=/some/file.txt - Didn't work. Tried SHARE.domain.com/user/pass/SHARE_NAME in map file - Didn't work Tried user=USER,pass=PASS - Didn't work. I can see the mounts created but when I access them... (4 Replies)
Discussion started by: Devyn
4 Replies

9. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

Heyas At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it. EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...). Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies

10. UNIX for Advanced & Expert Users

Passing credentials via .netric file in Linux

How to create netrc file...I searched in google & got to know that we have to create .netrc file in home directory, I've created .netrc file in in home directory created .netrc file in home directory more .netrc machine $HOSTNAME login xxxx password xxxxx Note: echo $HOSTNAME... (2 Replies)
Discussion started by: sam@sam
2 Replies
STOREBACKUPMOUNT(1)					User Contributed Perl Documentation				       STOREBACKUPMOUNT(1)

NAME
storeBackupMount.pl - runs storeBackup backing up to an nfs mount SYNOPSIS
storeBackupMount.pl -c configFile [-s server] [-l logFile] [-d] [-p pathToStoreBackup] [-k killTime] [-m] mountPoints... DESCRIPTION
This script does the following: - checks an nfs server with ping - mounts that server via a list of mount points - starts storeBackup (with a config file) - umounts that server OPTIONS
--server, -s name or ip address of the nfs server default is localhost --configFile, -c configuration file for storeBackup. if option 'logFile' is set in the configration file, that log file is read online, if it is different from -l --logFile, -l logFile for this process. default is STDOUT. you can log into the same logfile as storeBackup --debug, -d generate some debug messages --pathStbu, -p path to storeBackup.pl --killTime -k time until storeBackup.pl will be killed. default is 365 days. the time range has to be specified in format 'dhms', e.g. 10d4h means 10 days and 4 hours --keepExistingMounts, -m if a mount already exists, do not umount after running storeBackup mountPoints List of mount points needed to perform the backup. This must be a list of paths which have to be defined in /etc/fstab. - if you add 'ro,' or 'rw,' to the beginning of a mount point, you can overwrite that option set in /etc/fstab example: ro,/filesSystemToRead will mount /fileSystemToRead read only, even if the corresponding entry in /etc/fstab mounts it read write only root is allowed to use this feature! EXIT STATUS
0 -> everything is ok 1 -> error from storeBackup 2 -> error from storeBackupMount 3 -> error from both programs COPYRIGHT
Copyright (c) 2004-2008,2012 by Heinz-Josef Claes (see README). Published under the GNU General Public License v3 or any later version perl v5.14.2 2012-03-03 STOREBACKUPMOUNT(1)
All times are GMT -4. The time now is 04:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy