Provides the server function for the rlogin command.
Note: The rlogind daemon is normally started by the inetd daemon. It can also be controlled from the command line, using SRC commands.
/usr/sbin/rlogind [ -c ] [ -l ] [ -n ] [ -s ]
The /usr/sbin/rlogind daemon is the server for the rlogin remote login command. The server provides a remote login facility.
Changes to the rlogind daemon can be made using Web-based System Manager, the System Management Interface Tool (SMIT) or System Resource Controller (SRC), by editing the /etc/inetd.conf or /etc/services file. Entering rlogind at the command line is not recommended. The rlogind daemon is started by default when it is uncommented in the /etc/inetd.conf file.
The inetd daemon get its information the /etc/inetd.conf file and the /etc/services file.
After changing the /etc/inetd.conf or /etc/services file, run the refresh -s inetd or kill -1 InetdPID command to inform the inetd daemon of the changes to its configuration file.
When the rlogind daemon receives a service request, the daemon initiates the following protocol:
The following error messages are associated with the rlogind daemon:
Try again. | A fork command made by the server has failed. |
/usr/bin/shell: | No shell. The shell specified for the shell variable cannot be started. The shell variable may also be a program. |
-c | Suppresses the reverse hostname lookup. |
-l | Prevents any authentication based on the user's $HOME/.rhosts file. However, a root user is automatically logged in when there is a .rhosts file in root's home directory as specified by the /etc/passwd file. |
-n | Disables transport-level keep-alive messages. The messages are enabled by default. |
-s | Turns on socket level debugging. |
Note: The arguments for the rlogind daemon can be specified by using SMIT or by editing the /etc/inetd.conf file.
startsrc -t rloginThis command starts the rlogind subserver.
stopsrc -t rloginThis command allows all pending connections to start and existing connections to complete but prevents new connections from starting.
stopsrc -t -f rloginThis command terminates all pending connections and existing connections immediately.
lssrc -t rloginThis command returns the daemon's name, process ID, and state (active or inactive).
The kill command, lssrc command, refresh command, rlogin command, startsrc command, stopsrc command.
The rshd daemon, inetd daemon, syslogd daemon.
The pty special file.
The $HOME/.rhosts file format, /etc/hosts.equiv file format, /etc/inetd.conf file format.
TCP/IP Daemons in AIX Version 4.3 System Management Guide: Communications and Networks.
Setting up and running Web-based System Manager in AIX Version 4.3 System Management Guide: Operating System and Devices.