Solaris Common Messages and Troubleshooting Guide

rlogin: no directory! connection closed

Cause

When a user tries to remotely log in to a machine, the user gets this error.

The machine that the user was trying to access with rlogin(1) had permissions of 700 on its root directory. The permissions on root should be 755.

After the permissions on the root file system were changed to 755, the user was able to proceed farther when attempting to execute an rlogin, but it still failed with the following:


Last login: Fri Aug 29 10:24:43 from machinename
no shell
connection closed

Action

The machine that the user was trying to access with rlogin had the permissions set to 700 on both the root and /usr/bin directories. For both directories, the permissions should be 775. Once the user changed the permissions to 775, rlogin(1) was successful.

Also, check the user's passwd(1) entry in the NIS/NIS+ map. A login shell such as /usr/dist/exe/tcsh or /net/lab/.../csh could cause the failure because of NFS mount permission.