10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that checks if the script has been ran with sudo.
If the script is not ran as sudo, the current script is being executed with exec sudo bash.
You are asked for a password, you type in the password, success. Everything is perfect - the commands inside the script are ran as sudo.... (1 Reply)
Discussion started by: boqsc
1 Replies
2. 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
3. AIX
I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?
sbhcprdb01<root>: rsh... (6 Replies)
Discussion started by: JodyTek
6 Replies
4. Shell Programming and Scripting
Hi Gurus,
I am new to scripting and needs your help in expect script used for telnet. I wrote a simple script as
#!/usr/bin/expect-5.43 -f
spawn telnet localhost 2233
expect "password:"
send "secret\r"
send "i data.cnbc.com\r"
send "exit\r"
expect eof
When I am trying to execute... (2 Replies)
Discussion started by: niks_yv
2 Replies
5. Red Hat
Hi. As root, I'm running rsh as root from a Solaris 9 machine to some RHEL 4 servers (supposedly all configured identically) but two of about 10 respond with permission denied. There is no firewall device between the Solaris 9 client and the RHEL servers.
I'm doing something like this from the... (4 Replies)
Discussion started by: th1amigo
4 Replies
6. UNIX for Dummies Questions & Answers
I would like to copy data from local mechine to cluster. Basically, I typed
scp -r DVD/ acount@cluster:/
it shows Permission denied.
Could anyone please give me a clue to write permission on cluster, please?
The poperty of where on cluster I'd like to put is drwxr-xr-x
Any idea would... (1 Reply)
Discussion started by: su_in99
1 Replies
7. 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
8. UNIX for Dummies Questions & Answers
Hi All,
When I execute a command on Unix and it says 'Permission denied'. What could be the reason and how can it be resolved?
Many thanks,
David (2 Replies)
Discussion started by: david_wang
2 Replies
9. UNIX for Dummies Questions & Answers
Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks! (8 Replies)
Discussion started by: trouscaillon
8 Replies
10. 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