Sponsored Content
Top Forums Shell Programming and Scripting Script to eliminate files .rlogin Post 302534352 by neutronscott on Monday 27th of June 2011 04:06:54 PM
Old 06-27-2011
Isn't there a command line option to rlogind to just disable .rhosts? My man page suggests -l does it.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

rlogin from Shell script

I am logged into an AIX Unix box. From there I want to remotely login to remotely login to an HP-UX Unix box and want to execute a command that will create a file. I want to get the file to the AIX box. Can someon eplease advise how to automate that in a shell script? At the first step I want to... (2 Replies)
Discussion started by: asutoshch
2 Replies

2. Shell Programming and Scripting

How to Eliminate first line of multiple files

hi gurus ,, I have multiple files with same file pattern..in a particular directory for ex: file20061101.trf file20061102.trf file20061103.trf Each of the file has a header as column names.. My questions is how can i eliminate the first row of each of these... (11 Replies)
Discussion started by: sish78
11 Replies

3. Shell Programming and Scripting

Eliminate variable checking in a script

RH Linux, $SHELL=/bin/ksh I have a .profile which I source in as such --> . .profile Whats happening is the variables are getting validated and generating errors. for example .profile export foo=/to/the/moon when I . .profile , I get : not foundmyusername/.profile or bad... (8 Replies)
Discussion started by: BMetelsky
8 Replies

4. Shell Programming and Scripting

rlogin inside a c-shell script

Hi Forumers, Sorry if it's really simple, but I couldn't find a way out. :( I've to do something like this in a script (csh): <some commands, variable settings, scripts> rlogin different_server <some commands, variable settings, scripts> After "rlogin", it shows the prompt of the... (5 Replies)
Discussion started by: sumitgarg
5 Replies

5. Shell Programming and Scripting

script for nested rlogin and telnet

I want to write a script that rlogins to a couple machines and then from the last machine, telnet into a final machine and execute a command. So in pseudocode it would look like: rlogin host1 from host1 rlogin host2 from host2 telnet host3 from host 3 execute command The reason for the... (6 Replies)
Discussion started by: mcburke38
6 Replies

6. Shell Programming and Scripting

Shell script help to eliminate files of todays date

Hi I am very new to shell scripting and have written a script (below). However the directory I am searching will contain a file with a .trn extension each day which I want to eliminate. Each day the file extension overnight will change to trx, if this fails I want to know. Basically what I... (2 Replies)
Discussion started by: richM
2 Replies

7. Shell Programming and Scripting

script to eliminate left and right fields and to get the ouput.

Hi Experts, I have a file as given below and want to filter out the filenames in it , by deleting left and right filds and to have the fllenames (There are spaces in the filename), Sun Jan 11 11:20:10 2009 1 0 /home/output/file2311_recent.list user1 user2 0 done Sun Jan 11 11:20:10 2009 1 0... (10 Replies)
Discussion started by: rveri
10 Replies

8. Shell Programming and Scripting

rlogin and script

I am writing a script to do rlogin to another system and execute commands on the remote system, i can successfully login to the remote system but the commands are not sent. i can only use rlogin to get to the remote system. what can i do? (6 Replies)
Discussion started by: aydj
6 Replies

9. Shell Programming and Scripting

How to eliminate ^L

Hi, I am trying to create a text file from data retrieved from a query.The data retrieved is having this character '^L' at regular intervals of the data. How can i eliminate this, Please find below the sample data. I tried sed -e "s/\^L//g" to convert it, but with no luck ^LCODE*SERIAL... (11 Replies)
Discussion started by: ramkiran77
11 Replies

10. Shell Programming and Scripting

Need help to eliminate the records

Hi All, Please help me how to remove the records from the file if it is having more number of fields than the required one, before loading into stage Here is the sample records. File is space delimited one chandu 1121324 CC ( 2 spaces) chandu balu 434657 DD (3 spaces) -- failing due to... (10 Replies)
Discussion started by: bbc17484
10 Replies
rlogind(8)						      System Manager's Manual							rlogind(8)

NAME
rlogind - The remote login server SYNOPSIS
rlogind [-aln] FLAGS
Requests the addresses for the hostname, verifying that the name and address correspond. Normal authentication is bypassed if the address verification fails. Prevents authentication based on the user's $HOME/.rhosts file, unless the user is logging in as the superuser. Dis- ables transport-level, keep-alive messages. The messages are enabled by default. DESCRIPTION
The rlogind daemon is the server for the rlogin(1) program. The server provides a remote login facility with authentication based on priv- ileged port numbers from trusted hosts. The rlogind daemon listens for service requests at the port indicated in the login service specification; see services(4). When a service request is received, the following protocol is initiated: The server checks the client's source port. If the port is not in the range 512 to 1023, the server aborts the connection. The server checks the client's source address and requests the corresponding hostname (see gethostbyaddr(3), hosts(4) and named(8). If the hostname cannot be determined, the dot-notation representation of the host address is used. If the hostname is in the same domain as the server (according to the last two components of the domain name), or if the -a flag is given, the addresses for the hostname are requested, verifying that the name and address correspond. Normal authentication is bypassed if the address verification fails. Once the source port and address have been checked, rlogind proceeds with the authentication process described in rshd(8). It then allo- cates a pseudoterminal (see pty(7)), and manipulates file descriptors so that the slave half of the pseudoterminal becomes the stdin, std- out, and stderr for a login process. The login process is an instance of the login(1) program invoked with the -f option if authentication has succeeded. If automatic authentication fails, the user is prompted to log in as if on a standard terminal line. The -l option pre- vents any authentication based on the user's .rhosts file, unless the user is logging in as the superuser. By default, the rlogind daemon starts the login dialog using the login string specified in the message field of the /etc/gettydefs file. If you want to use a customized banner, create an /etc/issue.net or /etc/issue file. The rlogind daemon reads the file that exists and writes its contents to stdout prior to starting the login dialog. If both files exist, only the /etc/issue.net file is used. The parent of the login process manipulates the master side of the pseudoterminal, operating as an intermediary between the login process and the client instance of the rlogin program. In normal operation, the packet protocol described in pty(7) is invoked to provide <Ctrl- s>/<Ctrl-q> type facilities and propagate interrupt signals to the remote programs. The login process propagates the client terminal's baud rate and terminal type, as found in the TERM environment variable. The screen or window size of the terminal is requested from the client, and window size changes from the client are propagated to the pseudoterminal. Transport-level, keep-alive messages are enabled unless the -n flag is present. The use of keep-alive messages allows sessions to be timed out if the client crashes or becomes unreachable. Note that the authentication procedure used here assumes the integrity of each client machine and the connecting medium. This is insecure, but is useful in an open environment. DIAGNOSTICS
All initial diagnostic messages are indicated by a leading byte with a value of 1 (one), after which any network connections are closed. If there are no errors before login is invoked, a null byte is returned as an indication of success. A fork by the server failed. FILES
Specifies the command path RELATED INFORMATION
Commands: login(1). Daemons: rshd(8). Files: issue(4), issue.net. Functions: ruserok(3). delim off rlogind(8)
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy