Provides the server function for the rlogin command.
/usr/sbin/krlogind [ -n ] [ -s ]
Note: The krlogind daemon is normally started by the inetd daemon. It can also be controlled from the command line, using SRC commands.
The /usr/sbin/krlogind daemon is the server for the rlogin remote login command. The server provides a remote login facility.
Changes to the krlogind daemon can be made by using Web-based System Management, the System Management Interface Tool (SMIT) or System Resource Controller (SRC), by editing the /etc/inetd.conf or /etc/services file. Entering krlogind at the command line is not recommended. The krlogind daemon is started by default when it is uncommented in the /etc/inetd.conf file.
The inetd daemon get its information from 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 krlogind daemon receives a service request, the daemon initiates the following protocol:
The following error messages are associated with the krlogind 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.|
|-n||Disables transport-level keep-alive messages. The messages are enabled by default.|
|-s||Turns on socket level debugging.|
The krshd daemon is a subserver of the inetd daemon, which is a subsystem of the System Resource Controller (SRC). The krshd daemon is a member of the tcpip SRC subsystem group. Using the chauthent command will comment/uncomment the kshell line in the /etc/inetd.conf file and restart the inetd daemon depending on whether Kerberos 5 or Kerberos 4 is configured/unconfigured. This daemon should be manipulated using the chauthent/lsauthent commands. Direct modification of the inetd.conf file's kshell entry in not recommended.
Note: The arguments for the krlogind daemon can be specified by using SMIT or by editing the /etc/inetd.conf file.
startsrc -t klogin
This command starts the krlogind subserver.
stopsrc -t klogin
This command allows all pending connections to start and existing connections to complete but prevents new connections from starting.
stopsrc -t -f klogin
This command terminates all pending connections and existing connections immediately.
lssrc -t klogin
This command returns the daemon's name, process ID, and state (active or inactive).
The rlogin command.
The inetd daemon, rshd daemon, syslogd daemon.
The pty special file.
The kvalid_user subroutine.
The /etc/inetd.conf file format.
Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.
Network Overview in AIX Version 4.3 System Management Guide: Communications and Networks.
Secure Rcmds in AIX Version 4.3 System User's Guide: Communications and Networks.