rsh logs in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris rsh logs in Solaris
# 1  
Old 01-31-2011
rsh logs in Solaris

Hi

we run rsh (password-less) among solaris 9/10 boxes very frequently and would like to know if there exist any logs which will capture either login session or the commands run (using rsh) or with any other info.

TIA
Reddy
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

In Solaris 10 where to see print logs?

Hi friends, In Solaris 10 where to see print logs? Following is the command I used to give test page. echo "Michael Ponting - test page_New1" |lpr -P pip-qc3-lki890 pip-qc3-lki890 is print queue name. Please Advise. Thanks, Manali (3 Replies)
Discussion started by: manalisharmabe
3 Replies

2. Solaris

Disable all the logs in Solaris

Hi Is there anyway to disable all logs/logging (lastlog, sulog, messages etc.) in Solaris 9&10? I know this is not recommended but i just want to know if this is possible. TIA Reddy (8 Replies)
Discussion started by: reddyr
8 Replies

3. Solaris

where the logs store in the sun solaris?

hi friends, i would like to know where the logs are store in the sun solaris . i want to know particular logs where user are executing command , editing some process,deleting some file etc,file tranfers. I have tried editing syslog.conf file,but i am not getting the information which i... (2 Replies)
Discussion started by: ronsy84
2 Replies

4. UNIX for Dummies Questions & Answers

vxWorks connection to solaris 9.0 rsh vs ftp problem

Can anyone point me in the right direction.. I have a test system which requires vxWorks to be loaded via TCPIP I am using a Sun ultra10 box with Sol 9.0 installed as the server I have configured the server and am able to load the boot image without any problems. I assume it is using the... (0 Replies)
Discussion started by: shortsrkt
0 Replies

5. Solaris

Unable to execute commands using rsh in Solaris 9 and 10.

Unable to execute commands using rsh in Solaris 9 and 10. When I execute this command " rsh -n 172.16.67.91 ls -l " I am getting this error message. ::ffff:172.16.67.91: Connection refused Please guide me how to enable rsh. Thanks & Regards Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

6. Solaris

stop rsh in solaris

dear all Please suggest how to stop rsh on Solaris 10 Thanks murad jaber (2 Replies)
Discussion started by: murad.jaber
2 Replies

7. UNIX for Dummies Questions & Answers

RSH, Solaris and AIX

All, I have two AIX 5.3 systems that needs to run rsh commands on a Solaris 8 system, and one is failing. One, xx402 is a dedicated machine, and the other, xx452 is a virtual one on (via VIO). The xx402 has no problem with the rsh commands but I keep getting "Permission Denied" when the... (5 Replies)
Discussion started by: kjbaumann
5 Replies

8. Solaris

how to stop rsh on solaris 10

Hi Guys, Please suggest how to stop rsh on Solaris 10 Thanks Manu (1 Reply)
Discussion started by: b_manu78
1 Replies

9. UNIX for Dummies Questions & Answers

How to enable rsh on Solaris 5.9 and Tru64 4F

Hi everyone, I'n new on this... And I don't have experience. I need to know how to enable rsh between solaris and tru64. I don't know what i need to modify or install. I really don't have idea. If somebody has documentation about this, or has a procedure to do this. I really will... (1 Reply)
Discussion started by: cm247a
1 Replies

10. UNIX for Advanced & Expert Users

rsh in crontab for solaris 7

I am putting a shell script in cron of root for solaris 7 server . This shell script runs rsh commands within the script. The result is the shell script does not run in cron. The cron syntax is perfect. When I run stand alone manually it works fine.I undesrstand I need to initialize everything... (6 Replies)
Discussion started by: Hitesh Shah
6 Replies
Login or Register to Ask a Question
rsh(1c) 																   rsh(1c)

Name
       rsh - remote shell

Syntax
       rsh host [-l username] [-n] command
       host [-l username] [-n] command

Description
       The  command  connects to the specified host, and executes the specified command.  The command copies its standard input to the remote com-
       mand, the standard output of the remote command to its standard output, and the standard error of the remote command to its standard error.
       Interrupt, quit and terminate signals are propagated to the remote command.  The command normally terminates when the remote command does.

       The  remote  username  used is the same as your local username, unless you specify a different remote name with the -l option.  This remote
       name must be equivalent, in the sense of to the originating account.  No provision is made for specifying a password with a command.

       If you omit command, then instead of executing a single command, you are logged in on the remote host using

       Shell metacharacters which are not quoted are interpreted on local machine, while quoted  metacharacters  are  interpreted  on  the  remote
       machine.  Thus the command

	  rsh otherhost cat remotefile >> localfile

       appends the remote file remotefile to the localfile localfile, while

	  rsh otherhost cat remotefile ">>" otherremotefile

       appends remotefile to otherremotefile.

       Host  names are given in the file Each host has one standard name (the first name given in the file), which is rather long and unambiguous,
       and optionally one or more nicknames.  The host names for local machines are also commands in the directory If you put  this  directory	in
       your search path then the can be omitted.

Options
       -l username	   Logs you in as the specified user, not as your user login name.

       -n		   Redirects all command input to

Restrictions
       The  command  is  confused by output generated by commands in a .cshrc file on the remote host.	In particular, `where are you?' and `stty:
       Can't assign requested address' are messages which can result if output is generated by the startup file.

       If you are using and put a in the background without redirecting its input away from the terminal, it blocks even if no reads are posted by
       the remote command.  If no input is desired you should redirect the input of to using the -n option.

       You cannot run an interactive command like Use

       Stop signals stop the local process only.

Files
       /etc/hosts
       /usr/hosts/*

See Also
       rlogin(1c)

																	   rsh(1c)