My host environment is Linux and SCO systems talking to a remote SCO box. Authentication has been configured, I can do rcmd or rsh between the systems. I am trying to use rsh facility of remote unix box and I don't want to use system call to rsh or rcmd. Instead, I am trying to open 514 port directly from my code and send a comand to it. My understaning is that to achieve that I need to form a control string in the following fashion:
My program sends the string to the host, but gets nothing back.
Please see my code below. Just a note - to make sure code has no problems I targeted port 13 (time) and it worked, so I assume the problem is in the control string.
response from my program:
Again, authentication is OK, I can do rsh 192.168.1.2 -l xuser pwd no problem.
In my system , all user login are via telnet , we have control that only allow max. 300
telnet session in the system , now if I want to keep the max. no of telnet unchange (300) ,
but three specific users ( eg. userA , userB ,userC ) not count into this 300 session , is
it possible ?
for... (0 Replies)
Sun 5.8
Though I'd like to be using SSH, my client refuses to do so. So, I'm forced to use rsh/rexec for remote commands. My question is....when running a remote command via "rsh hostname <command>", do I need to have rexecd running, or just rshd on the remote server?
Thanks in advance for... (1 Reply)
Need to replace any control character in the string in perl
---------- Post updated at 04:22 PM ---------- Previous update was at 03:50 PM ----------
Any help !!!
Thanks in advance (2 Replies)
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)
I am trying to run niminv on my nim master to collect info from my nim clients.
: / -> niminv -o invcon -a targets=<nimclient> -a location=/tmp/inventory
rshd: 0826-813 Permission is denied.
geninv: 0645-007 ATTENTION: gi_nim_standalone() returned an unexpected result.
Return Status: FAILURE... (4 Replies)
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)
continuing from my previous post, whose link is given below as a reference
https://www.unix.com/shell-programming-scripting/171076-shell-scripting.html#post302573569
consider there is create table commands in a file for eg:
CREATE TABLE `Blahblahblah` (
`id` int(11) NOT NULL... (2 Replies)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
I would like to log requests to rshd on OSR 5.0.7, hopefully it is possible.
Requests are coming from client Windows PCs, it all works most of the time, but few PCs are not able to do it.
I am not sure where to start - do I tweak syslog.conf? Any pointers would be appreciated. (4 Replies)