08-25-2010
I just had a similar experience. It turned out that the A machine I was using had multiple names in the DNS server. I found this by running nslookup on the B machine. To fix it, I had to make a separate .rhosts entry line for each of the names returned by nslookup.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear All
I am using rsh command to work with a remote tape drive. I am getting the message 'permission denied'. What should I do to get rid of this message.
Best Regards
Reza (1 Reply)
Discussion started by: Reza Nazarian
1 Replies
2. UNIX for Dummies Questions & Answers
I am very new to Unix. We have a script that will remove files from a directory. The account removing the files has the same permissions as the directory the files are located. We have logged in as the account and deleted the files from that directory but when we run the script with the account... (7 Replies)
Discussion started by: Cech2002
7 Replies
3. UNIX for Advanced & Expert Users
When I do a 'cd /appl' and issue 'ls -al' command, I get the following error for .. directory.
./..: Permission denied
But still I get a listing of other directories under /appl.
Also, if I give 'man' for any command under this /appl folder, I get the following error:
... (3 Replies)
Discussion started by: Deepa
3 Replies
4. Shell Programming and Scripting
Hi Gurus,
Trying to search in the forum but cant seem to find anything related.
I'm trying to run this script DWH_Housekeep.sh from the another server
This is my command:
rsh -l hulft 140.32.12.161 /usr/TRS/script/DWH_Housekeep.sh
permission denied
I get permission denied.
... (7 Replies)
Discussion started by: lweegp
7 Replies
5. OS X (Apple)
Hello,
I am using Tiger 10.4.11
I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd.
Whenever I open X11, I get an error:
xterm: could not exec /dev/null: Permission denied
I have chmodded /dev/null to 777, as well as the /tmp directory.
I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies
6. Shell Programming and Scripting
Hi All,
I have two servers, say server1 and server2.
I have put the entries of both servers in /.rhosts file of both servers.
So, when I tried to run following from server1-
rsh server2 "ls"
Permission denied was printed on console.
Can anyone help me out?
Regards,
akash mahakode (4 Replies)
Discussion started by: akash_mahakode
4 Replies
7. AIX
Guy's
I have two servers .. server1 and server2
I have configured the rshd and started the rshd demean in both servers by the below command .
startsrc -t shell
lssrc -t shell
Service Command Description Status
shell /usr/sbin/rshd rshd ... (4 Replies)
Discussion started by: Mr.AIX
4 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I was trying a perl-cgi tutorial and saving the data from online form to a file named (guests.txt). I am using the localhost port 80 for practice.
My page file "guestbook.html" is working as I saw the online form. After filled out the blanks and submit, I was expecting to see the result... (3 Replies)
Discussion started by: yifangt
3 Replies
9. Linux
hi
I have configured rsh-server and running rsh command on my fedora 14 machine while executing it shows permission denied, below is the output of the same.
# rsh localhost date
Permission denied.
#
but same works in other system
# rsh localhost date
Fri Nov 23 05:31:12 PST... (5 Replies)
Discussion started by: muzaffar.k
5 Replies
10. Shell Programming and Scripting
Hello,
I am trying to stream lines written into file. When first source is down, I expect the code to swap to second line and run it.
Script below works as usual and it prints out each line of the input file (s.txt):
#!/bin/bash
while read -r line;
do
echo "$line"
done <"$1"
exit 0Output... (12 Replies)
Discussion started by: baris35
12 Replies
LEARN ABOUT SUNOS
rpc.nisd_resolv
rpc.nisd_resolv(1M) System Administration Commands rpc.nisd_resolv(1M)
NAME
rpc.nisd_resolv, nisd_resolv - NIS+ service daemon
SYNOPSIS
rpc.nisd_resolv [-v | -V] [ -F [-C fd]] [-t xx] [-p yy]
DESCRIPTION
rpc.nisd_resolv is an auxiliary process which provides DNS forwarding service for NIS hosts requests to both ypserv and rpc.nisd that are
running in the NIS compatibility mode. It is generally started by invoking rpc.nisd(1M) with the -B option or ypserv(1M) with the -d
option. Although it is not recommended, rpc.nisd_resolv can also be started independently with the following options.
This command requires that the /etc/resolv.conf file be setup for communication with a DNS nameserver. The nslookup utility can be used to
verify communication with a DNS nameserver. See resolv.conf(4) and nslookup(1M).
OPTIONS
-F Run in foreground.
-C fd Use fd for service xprt (from nisd).
-v Verbose. Send output to the syslog daemon.
-V Verbose. Send output to stdout.
-t xx Use transport xx.
-p yy Use transient program# yy.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
nslookup(1M), rpc.nisd(1M), resolv.conf(4), attributes(5)
NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are
available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html.
SunOS 5.10 12 Dec 2001 rpc.nisd_resolv(1M)