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(1M)															    automountd(1M)

NAME
automountd - autofs mount/unmount daemon SYNOPSIS
automountd [-Tvn] [-D name=value] automountd is an RPC server that answers file system mount and unmount requests from the autofs file system. It uses local files or name service maps to locate file systems to be mounted. These maps are described with the automount(1M) command. If automount finds any non-trivial entries in either the local or distributed automount maps and if the daemon is not running already, the automountd daemon is automatically invoked by automount(1M). automountd enables the svc:/network/nfs/nlockmgr service (lockd(1M)), and the svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done. At startup, the automountd daemon is invoked as is invoked as the system/filesystem/autofs:default service. See . The following options are supported: -D name=value Assign value to the indicated automount map substitution variable. These assignments cannot be used to substitute variables in the master map auto_master. -n Turn off browsing for all autofs mount points. This option overrides the -browse autofs map option on the local host. -T Trace. Expand each RPC call and display it on the standard output. -v Verbose. Log status messages to the console. USAGE
See largefile(5) for the description of the behavior of automountd when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). /etc/auto_master Master map for automounter. /etc/default/autofs Supplies default values for parameters for automount and automountd. See autofs(4). See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ svcs(1), automount(1M), svcadm(1M), autofs(4), attributes(5), largefile(5), smf(5) The automountd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/filesystem/autofs Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M) unless the application/auto_enable property is set to false. 3 Mar 2005 automountd(1M)
All times are GMT -4. The time now is 01:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy