07-18-2011
On the server side, add the client names to the exports file, usually /etc/exports.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script??
something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies
2. Solaris
Dear all
i want to ssh to a server via running a shell script with a username and i want to hard code the password for that particular username
can u help me please
Thank u
Naree (8 Replies)
Discussion started by: naree
8 Replies
3. UNIX for Dummies Questions & Answers
hi all,
i run sqlplus command on unix(HP-UX)
like "sqlplus username/password@serverA @deneme.sql"
but when someone run "ps -ef | grep sqlplus", it can see my username and password :(
How can i hide username and password.
thanx. (1 Reply)
Discussion started by: temhem
1 Replies
4. Solaris
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies
5. Shell Programming and Scripting
Hi
I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Discussion started by: somersetdan
5 Replies
6. UNIX for Dummies Questions & Answers
Picked up a 3b2 running System V. Works fine, but it requires a username and password. Is the username "root" or "sysadm"? How do I find out and how to I reset it or bypass it?
Thanks. (2 Replies)
Discussion started by: TanRuNomad
2 Replies
7. UNIX for Dummies Questions & Answers
Hi, everyone, I am trying to write a script to login automatically using username and password to an sftp server (the key authentication has been disabled so I cannot use that method).
I tried to search online for a solution and found a way using "expect" but my boss does not want me to use... (4 Replies)
Discussion started by: warmboy610
4 Replies
8. Shell Programming and Scripting
Hi,
I need to run a script located in a directory on remote server by using ssh authentication from my local unix server. Can anyone help me in this.
I have tried the below command. It worked for echo command but when i tried to open a file using cat command it is showing "cat: cannot open... (6 Replies)
Discussion started by: ssk250
6 Replies
9. Shell Programming and Scripting
Hi I am new to shell scripting,
Can you please help me in writing a script that can switch user in same server with different user name and same password.
I want to perform some functional task in a particular user and need to switch user and perform same activity in another user and so on ...
... (4 Replies)
Discussion started by: Dew
4 Replies
mountd(8) System Manager's Manual mountd(8)
NAME
mountd - Services remote NFS compatible mount requests
SYNOPSIS
mountd [-d] [-i] [-n] [-s] [exportsfile]
FLAGS
Verifies the Internet addresses of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name
by the gethostbyaddr() function and then translated back into the same Internet address by the gethostbyname() function, the request is
rejected.
This option requires the BIND service for Internet address resolution. It offers the highest level of security, especially when
combined with the -i option. Turns on Internet address verification and domain checking. If you are running the BIND service,
mountd verifies that a host making a mount or unmount request is in the server's domain. Allows non-root mount requests to be
served. This should only be specified if there are clients such as PC's that require it. ULTRIX BSD is allowed non-root mount
requests by default. Use the -n flag to allow non-root mount requests. Verifies the Internet address of hosts that make mount and
unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function, the request is
rejected. If you are running the BIND service, the BIND server is used to translate the address. If you are not, the /etc/hosts
file is used.
If the -i option is not used and a client's address cannot be translated, the address is converted to a string of the form
xx.xx.xx.xx. This allows access to exported file systems that do not specify a list of allowed hostnames.
The -i option is automatically enabled when either the -d or the -s option is specified. Turns on Internet address verification and
subdomain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the
server's domain or subdomain.
DESCRIPTION
The mountd daemon is the server for NFS protocol mount requests from clients. The mountd daemon responds to requests from remote computer
systems to mount directories. When it receives a SIGHUP signal, mountd rereads the exports file. If you are on an NFS client and want to
have changes to the export options on existing NFS client mounts take effect immediately, issue the showmount -e command and specify the
name of the host that is exporting the directory or file system (where the exports file is located). This ensures that NFS is aware of the
export list and options.
The optional exportsfile argument specifies an alternate location for the exports file. /etc/exports is the default.
Note, NFS Version 2 can export partitions that are greater than 2 gigabytes. However, they appear as 2 gigabyte partitions when viewed
from NFS clients.
FILES
Specifies the command path Contains a list of directories that can be exported Contains a table of local file systems mounted by remote NFS
clients Contains errors logged by the mountd daemon
RELATED INFORMATION
Commands: nfsstat(8), nfsd(8), portmap(8), showmount(8)
Files: exports(4), mountdtab(4) delim off
mountd(8)