10-20-2016
Passing User Credentials with Mount Command
My HP-UX server currently mounts a directory on a Windows 2012 server. The Windows server allows anonymous connections for RW and this configuration has worked well for years. Now, due to tightening security requirements I can't use anonymous. I also can't setup Identity Mapping on the Windows side. I'm looking for a way to pass credentials to the Windows server during the Mount operation that would allow RW permissions. Is this possible? I know I can create passwd and group files on the Windows server that would map the Unix identity but I don't know how to specify what identity is used for the Mount.
Thanks,
Joe
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
tor-gencert
TOR-GENCERT(1) Tor Manual TOR-GENCERT(1)
NAME
tor-gencert - Generate certs and keys for Tor directory authorities
SYNOPSIS
tor-gencert [-h|--help] [-v] [-r|--reuse] [--create-identity-key] [-i id_file] [-c cert_file] [-m num] [-a address:port]
DESCRIPTION
tor-gencert generates certificates and private keys for use by Tor directory authorities running the v3 Tor directory protocol, as used by
Tor 0.2.0 and later. If you are not running a directory authority, you don't need to use tor-gencert.
Every directory authority has a long term authority identity key (which is distinct from the identity key it uses as a Tor server); this
key should be kept offline in a secure location. It is used to certify shorter-lived signing keys, which are kept online and used by the
directory authority to sign votes and consensus documents.
After you use this program to generate a signing key and a certificate, copy those files to the keys subdirectory of your Tor process, and
send Tor a SIGHUP signal. DO NOT COPY THE IDENTITY KEY.
OPTIONS
-v
Display verbose output.
-h or --help
Display help text and exit.
-r or --reuse
Generate a new certificate, but not a new signing key. This can be used to change the address or lifetime associated with a given key.
--create-identity-key
Generate a new identity key. You should only use this option the first time you run tor-gencert; in the future, you should use the
identity key that's already there.
-i FILENAME
Read the identity key from the specified file. If the file is not present and --create-identity-key is provided, create the identity
key in the specified file. Default: "./authority_identity_key"
-s FILENAME
Write the signing key to the specified file. Default: "./authority_signing_key"
-c FILENAME
Write the certificate to the specified file. Default: "./authority_certificate"
-m NUM
Number of months that the certificate should be valid. Default: 12.
--passphrase-fd FILEDES
Filedescriptor to read the file descriptor from. Ends at the first NUL or newline. Default: read from the terminal.
-a address:port
If provided, advertise the address:port combination as this authority's preferred directory port in its certificate. If the address is
a hostname, the hostname is resolved to an IP before it's published.
BUGS
This probably doesn't run on Windows. That's not a big issue, since we don't really want authorities to be running on Windows anyway.
SEE ALSO
tor(1)
See also the "dir-spec.txt" file, distributed with Tor.
AUTHORS
Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.
AUTHOR
Nick Mathewson
Author.
Tor 09/26/2014 TOR-GENCERT(1)