Solaris Advanced User's Guide

rlogin Without a Home Directory

In the previous example, user user2 logs in to the remote machine starbug at the directory /home/user2, as indicated by the pwd command. When you log in to a machine where you have no account, rlogin displays a message stating that you have no home directory on the remote machine. rlogin then logs you in to the root (/) directory of that machine:


venus$ earth -l user2
Password:
No directory! Logging in with home=/
Last login: Thu Nov  2 12:51:57 from venus
Sun Microsystems Inc.   SunOS 5.9       Generic February 2002
earth$ pwd
/
earth$ logout
Connection closed.
earth$