Patch-ID# 100421-03
Keywords: -i,/etc/utmp does not rpc.rexd, accounting, rpc, entry, log, utmp
Synopsis: SunOS 4.1; 4.1.1 4.1.2 4.1.3
Date: 30/Nov/92

SunOS release: 4.1, 4.1.1, 4.1.2, 4.1.3

Unbundled Product: 

Unbundled Release: 

Topic: Jumbo rpc.rexd patch

BugId's fixed with this patch: 1069208 1073436 1031946

Changes incorporated in this version: 1031946

Architectures for which this patch is available: sun4 sun4c sun3

Patches which may conflict with this patch: 

Obsoleted by: 

Files included with this patch: rexd on

Problem Description: 

30-Nov-92 Bug Fix 1031926 and refit to 4.1.2 4.1.3.
REXD/ON CAN DEADLOCK AND HANG

08-Nov-91 bugfix 1073436 Rev -02 
Any application using the syscall getlogin()  as executed from 'on -i' 
fails to retrieve user login from /etc/utmp  on 4.1.1 system.

04-Nov-91 bugfix 1069208 Rev -01
Since 4.0 rpc.rexd fails to log utmp entry properly. 
This causes syscalls which get user info on the server to return NULL, and 
programs which extract user information from /etc/utmp are useless. You 
can't tell who is on the system without doing a 'ps ax' and your can't tell
from which system they are coming from. System accounting utilities can't
tell what users are using their systems.

Install Instructions: 

As root:

mv /usr/etc/rpc.rexd /usr/etc/rpc.rexd.FCS
mv /bin/on /bin/on.FCS
cp `arch`/{4.1, 4.1.1, 4.1.2, 4.1.3}/rpc.rexd /usr/etc
cp `arch`/{4.1, 4.1.1, 4.1.2, 4.1.3}/on /bin/on

use chmod and chown to set the file and owner permissions for rpc.rexd and on.

-rwxr-xr-x  1 root     staff       32768 Oct  2 15:47 /usr/etc/rpc.rexd*
-rwxr-xr-x  1 root     staff       24576 Oct  2 15:47 /bin/on*

kill any prerunning rpc.rexd.

