01-18-2007
hello,
its either your solaris address not right or username not registered in your AIX.
cheers..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
a little help.
I need to test the return code of a list file command on a remote system (Unix) using the rsh command. More exactly, to test is a directory exists, I try the following command:
rsh $remoteHost "ls -la " $DirRemote
Now, if the $DirRemote is not correct and I test... (3 Replies)
Discussion started by: gio123bg
3 Replies
2. Programming
Hi,
How I can get system function executed command return value ? I want to know mv command success or not ?
#include <stdio.h>
main()
{
int ret;
ret = system( "mv x.dat y.dat" );
printf( "system ret:\n", ret );
} (3 Replies)
Discussion started by: haiudhaya
3 Replies
3. UNIX for Dummies Questions & Answers
Hi there again,
Running Solaris 10 with built-in Java. Seems to compile and run fine.
Problem is: Say I want to see contents of current directory. In a shell, I'd just write "ls" and it outputs the content.
When I write a Java file, I have the following line:
System.out.println("ls");
... (1 Reply)
Discussion started by: EugeneG
1 Replies
4. Solaris
Hi all,
Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10).
Typically from Sun to Sun is:
mount -F nfs <remote file system>/dir <mount point>
Which of course doesn't work if the remote file system is another OS (like AIX).
Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies
5. Shell Programming and Scripting
hello All,
I need to invoke by perl script some program/command and monitor it for 5
minutes . In case it still running for more then 5 min I need to send a signal which will stop it.
I implemeted this as shown below by using eval & alarm
and I'd like to know if there is a better way to... (1 Reply)
Discussion started by: Alalush
1 Replies
6. AIX
Hey Guyz,
I am preparing an inventory kindof thing about the aix servers.. I need help to find out the below details for many AIX servers..
Machine model and version
Disk Size
RAM size
no. of CPUs and thier information
list of softwares installed
I searched in web.. but not much info I... (4 Replies)
Discussion started by: thariqueakbar
4 Replies
7. Solaris
Hi,
we have server, that is auditing actions executed, and then sends them to the syslog server.
But there is arguments to issued to the commands in the audit trail, but there is no such arguments in the syslog output on the syslog server!
Example - I executed:
# ls -la
audit... (1 Reply)
Discussion started by: masloff
1 Replies
8. Shell Programming and Scripting
:wall:i'm system administrator. now i have a trouble. i want to fetch the command which the login users performed by shell.but i don't know how to process this problem.if anyone tell me how to do this work I would be very grateful.thank you! (4 Replies)
Discussion started by: anline5104
4 Replies
9. HP-UX
Hi all
I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge.
The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data.
Any help will be appreciated
FR (2 Replies)
Discussion started by: fretagi
2 Replies
10. AIX
I have a following requirement in production
system 1 : LINUX
User: abcd
system 2: AIX (it is hosting a production DB)
Requirement
user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies
LEARN ABOUT DEBIAN
in.rshd
RSHD(8) BSD System Manager's Manual RSHD(8)
NAME
rshd -- remote shell server
SYNOPSIS
rshd [-aiklnvxPL] [-p port]
DESCRIPTION
rshd is the server for the rsh(1) program. It provides an authenticated remote command execution service. Supported options are:
-n, --no-keepalive
Disables keep-alive messages. Keep-alives are packets sent at certain intervals to make sure that the client is still there, even
when it doesn't send any data.
-k, --kerberos
Assume that clients connecting to this server will use some form of Kerberos authentication. See the EXAMPLES section for a sample
inetd.conf(5) configuration.
-x, --encrypt
For Kerberos 4 this means that the connections are encrypted. Kerberos 5 can negotiate encryption even without this option, but if
it's present rshd will deny unencrypted connections. This option implies -k.
-v, --vacuous
If the connecting client does not use any Kerberised authentication, print a message that complains about this fact, and exit. This
is helpful if you want to move away from old port-based authentication.
-P When using the AFS filesystem, users' authentication tokens are put in something called a PAG (Process Authentication Group). Multi-
ple processes can share a PAG, but normally each login session has its own PAG. This option disables the setpag() call, so all tokens
will be put in the default (uid-based) PAG, making it possible to share tokens between sessions. This is only useful in peculiar
environments, such as some batch systems.
-i, --no-inetd
The -i option will cause rshd to create a socket, instead of assuming that its stdin came from inetd(8). This is mostly useful for
debugging.
-p port, --port=port
Port to use with -i.
-a This flag is for backwards compatibility only.
-L This flag enables logging of connections to syslogd(8). This option is always on in this implementation.
FILES
/etc/hosts.equiv
~/.rhosts
EXAMPLES
The following can be used to enable Kerberised rsh in inetd.cond(5), while disabling non-Kerberised connections:
shell stream tcp nowait root /usr/libexec/rshd rshd -v
kshell stream tcp nowait root /usr/libexec/rshd rshd -k
ekshell stream tcp nowait root /usr/libexec/rshd rshd -kx
SEE ALSO
rsh(1), iruserok(3)
HISTORY
The rshd command appeared in 4.2BSD.
AUTHORS
This implementation of rshd was written as part of the Heimdal Kerberos 5 implementation.
HEIMDAL
November 22, 2002 HEIMDAL