Remote commands problem using RSH & Rexec


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Remote commands problem using RSH & Rexec
# 1  
Old 01-15-2008
Remote commands problem using RSH & Rexec

I have enabled the RSH and Rexec command in my HP-UX server but when i try to send any command to the server it returns Execute Permission Denied except commands like ls-l

C:\rsh xxx.xxx.xxx.xxx -l mpac mxpkill 12

the mxpkill command work when I log to the server using telnet with the same user mpac

help me please I know you're Expert UsersSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Solved] Problem with mail commands & format

1. I generated a log for the script. log: abc def ghi ijk If I use general (plain text) format for mail sending, it was displaying correctly with new lines where I have. Eg: abc def ghi ijk But I tried with HTML format using the code: (8 Replies)
Discussion started by: karumudi7
8 Replies

2. Shell Programming and Scripting

execute remote commands with rsh

Hi, I earlier determined I cannot use FTP to execute remote commands on a server. My problem, I need to use a second server to get/put files via ftp onto my primary server and various tertiary servers. my server(A) ---> server (B) ----> server blah(c), server balh(C) I cannot directly... (1 Reply)
Discussion started by: mcclunyboy
1 Replies

3. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

4. Shell Programming and Scripting

RSH and sending commands

Dear All, I want to rsh a machine; lets say rsh ds-00 then i want to send a couple of commands via a script to be perfomed on the remote computer for instance rsh ds-00 df -k but it is not working when i do the scripting... What can be the problem BR/asad (1 Reply)
Discussion started by: asadlone
1 Replies

5. Shell Programming and Scripting

Error while running rsh commands !!!

Hi All I am trying to run an RSH command remotely to a machine, but I am gettinf the following errors, can anyone help me to resolve the errors user@server10:~> rsh user@server24 'uname -n' rcmd: getaddrinfo: Temporary failure in name resolution Thanks in advance to all Chirantan (3 Replies)
Discussion started by: csaha
3 Replies

6. UNIX for Dummies Questions & Answers

Problem running plsql & unix commands in 1 script

Hi, I need help again. When I run this shell script, it only runs the unld_date.sql piece and exits. How can I structure this to run all the way to the end? When I don't have the unld_date.sql piece in here, everything runs fine from the date compare piece all the way to the end. Thanks in... (5 Replies)
Discussion started by: siog
5 Replies

7. UNIX for Dummies Questions & Answers

RSH - Remote Shell

Dear All, I was wondering if there was any way that I could make RSH be non-blocking? i.e. make a remote connection to another machine and execute a function while being able to resume your program. T (4 Replies)
Discussion started by: thoang
4 Replies

8. Shell Programming and Scripting

rsh help with remote prompts

Hi, I'm writing a shell script that rsh's onto a remote machine and runs a perl script that requires values to be entered as the script executes. I also need to ba able to see the outputs from the perl script. When I try to run it I get an stty : Invalid argument and understand that this is... (4 Replies)
Discussion started by: ianf
4 Replies

9. UNIX for Dummies Questions & Answers

return codes from rsh commands...

I have a Korn shell script that executes a number of commands on a remote server. Is it possible to feed in the last exit code of the rsh commands (i.e. something like $?) to a variable within the local shell script? I tried the following: returncode=$(rsh spns31 ".... (1 Reply)
Discussion started by: bbouch
1 Replies

10. Programming

rexec() function problem

Hi folks, I'm trying to make a reconnection algorithm using rexec(), but I noticed that when rexec() fails returning -1, it is impossible to make it run successfully again until you restart the program or the thread. Example, I have a endless loop for connection retries, if I supply a wrong... (7 Replies)
Discussion started by: lcmoreno
7 Replies
Login or Register to Ask a Question
NBTSCAN(1)						      General Commands Manual							NBTSCAN(1)

NAME
nbtscan -- program for scanning networks for NetBIOS name information SYNOPSIS
nbtscan [-v] [-d] [-e] [-l] [-t timeout] [-b bandwidth] [-r] [-q] [-s separator] [-h] [-m retransmits] [-f filename | scan_range] DESCRIPTION
This manual page documents briefly the nbtscan command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. nbtscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address (such as Ethernet). OPTIONS
A summary of options is included below. -v Verbose output. Print all names received from each host. -d Dump packets. Print whole packet contents. Cannot be used with -v, -s or -h options. -e Format output in /etc/hosts format. -l Format output in lmhosts format. Cannot be used with -v, -s or -h options. -t timeout Wait timeout seconds for response. Default 1. -b bandwidth Output throttling. Slow down output so that it uses no more that bandwidth bps. Useful on slow links, so that ougoing queries don't get dropped. -r Use local port 137 for scans. Win95 boxes respond to this only. You need to be root to use this option. -q Suppress banners and error messages. -s separator Script-friendly output. Don't print column and record headers, separate fields with separator. -h Print human-readble names for services. Can only be used with -v option. -m retransmits Number of retransmits. Default 0. -f filename Take IP addresses to scan from file "filename" scan_range What to scan. Can either be single IP like 192.168.1.1 or range of addresses in one of two forms: xxx.xxx.xxx.xxx/xx or xxx.xxx.xxx.xxx-xxx. BUGS
Report bugs to alla@sovlink.ru (that's autor of nbtscan). I cannot promise to do anything but I might well want fix it. Remember: no war- ranty. At least it's worth what you payed for it. AUTHOR
This manual page was written by Ryszard Lach rla@debian.org for the Debian GNU/Linux system (but may be used by others) and is based on nbtscan author's README file. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Docu- mentation License, Version 1.1 or any later version published by the Free Software Foundation. NBTSCAN(1)