Sponsored Content
Operating Systems AIX Passing user/pass credentials to automountd map file. Post 302859571 by sea on Thursday 3rd of October 2013 11:54:19 AM
Old 10-03-2013
Assuming it should mount the NAS to:
Code:
# cd /mounttest/nas

You then seem to try execute another folder (?)
Code:
ksh: /mounttest/nasd: permission denied

Did you wanted to execute the file "d" in /mounttest/nas/?

You might want to share the script executed or the one called.
What is the output of:
Code:
ls /mounttest/ -l
ls /mounttest/nas/ -l

Edit & Note: Have to admit i have no experience with AIX
But if /mounttest/nasd is a script, it might require execution flag: chmod +x /mounttest/nasd

Last edited by sea; 10-03-2013 at 01:01 PM..
 

10 More Discussions You Might Find Interesting

1. Solaris

Cannot add a user,No /home map.

Hi all! my problem is that i cannot add a user to my system, Solaris 10,I x86, i have search thru this forum several times and i cannot find anything about my problem. I have tried to add a user in SMC, i can make that user and get a symbol for him in the users list in SMC but when i tried to... (2 Replies)
Discussion started by: larsgk
2 Replies

2. UNIX for Dummies Questions & Answers

samba user.map file

I am using Samba 3.0.33. The user.map file is not referred anywhere is Smb.conf. Infact, I couldn't see the user.map file any where in samba. But everything seems to be working. Is there an alternative way to refer to the users list. (2 Replies)
Discussion started by: sagar_evc
2 Replies

3. Red Hat

NIS disabling the MAP for a local user

Hello everybody, we have a NIS User lsfadmin which gets his environment variables from the autmount /home/lsfadmin. A newer version of the application needs a different environment to launch the application. I can't change the environment of the NIS User because we use NIS company wide for... (0 Replies)
Discussion started by: sdohn
0 Replies

4. Shell Programming and Scripting

FTP credentials from a config file

Hi, I am using the following syntax to connect to an FTP server and paste the file. Based on the value in the variable $Folder, i want to connect to different folders on the same server. The credential is different to access different folders. How to get the user name and password from a... (3 Replies)
Discussion started by: ashok.k
3 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. UNIX for Advanced & Expert Users

Need to pass credentials in one Go

Hi, We usually switch user using the below command. sudo su - user1 It then prompts for the password which we feed in. I wish to pass both the username and the password in one go thus eliminating the prompt for the password. I am using java standalone to connect to unix using... (11 Replies)
Discussion started by: mohtashims
11 Replies

8. 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

9. UNIX for Beginners Questions & Answers

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... (5 Replies)
Discussion started by: jduehmig
5 Replies

10. Shell Programming and Scripting

Curl , download file with user:pass in bash script

Hello, My question is about curl command. (ubuntu14.04) In terminal, I am able to download my mainfile with: curl -u user1:pass1 http://11.22.33.44/******* When I convert it into bash script like this: #!/bin/bash cd /root/scripts computer_ip=11.22.33.44 curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 Replies
AUTOMOUNTD(8)						    BSD System Manager's Manual 					     AUTOMOUNTD(8)

NAME
automountd -- daemon handling autofs mount requests SYNOPSIS
automountd [-D name=value] [-i] [-m maxproc] [-o options] [-d] [-v] DESCRIPTION
The automountd daemon is responsible for handling autofs(5) mount requests, parsing maps, and mounting filesystems they specify. On startup, automountd forks into background and waits for kernel requests. When a request is received, automountd forks a child process. The child process parses the appropriate map and mounts filesystems accordingly. Then it signals the kernel to release blocked processes that were waiting for the mount. -D Define a variable. -i For indirect mounts, only create subdirectories if there are no wildcard entries. Without -i, automountd creates all the subdirectories it can. Users may not realize that the wildcard map entry makes it possible to access directories that have not yet been created. -m maxproc Limit the number of forked automountd processes, and thus the number of mount requests being handled in parallel. The default is 30. -d Debug mode: increase verbosity and do not daemonize. -o options Specify mount options. Options specified here ill be overridden by options entered in maps or auto_master(5). -v Increase verbosity. EXIT STATUS
The automountd utility exits 0 on success, and >0 if an error occurs. SEE ALSO
auto_master(5), autofs(5), automount(8), autounmountd(8) HISTORY
The automountd daemon appeared in FreeBSD 10.1. AUTHORS
The automountd was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation. BSD
April 20, 2014 BSD
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy