Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!husc6!mit-eddie!apollo!weber_w From: weber_w@apollo.COM (Walt Weber) Newsgroups: comp.sys.apollo Subject: Re: rlogin not switching to user's home directory Keywords: rlogin home directory tcp Message-ID: <3d85b2bc.10b48@apollo.COM> Date: 28 Jul 88 16:30:00 GMT References: <591@mailrus.cc.umich.edu> Reply-To: weber_w@apollo.UUCP (Walt Weber) Organization: Apollo Computer, Chelmsford, MA Lines: 31 In article <591@mailrus.cc.umich.edu> nexus@ninja.cc.umich.edu writes: >I am using an Apollo 4000 running SR9.7, Domain/IX 9.5, and TCP/IP 3.1 and I am >having trouble with rlogin. When I rlogin, I am placed in the root directory rather >than my home directory (which is /usr/nexus) and I am placed in the bourne shell >instead of the C shell. 1) shell problem: At 9.7, the unix-derived tcp/ip daemons use /etc/passwd to determine the shell to invoke -- logins through the display manager create a set of processes based upon files in `node_data or /sys/dm , and **BY CONVENTION** from a startup file read from $HOME/user_data (actually ~/user_data). /etc/passwd is created by /etc/crpasswd, which assigns unix uid/gid numbers dynamically (a.k.a. dyna-magically). It leaves the shell field blank. This may be edited to the shell of your choice (the sys admin manual for bsd4.2 states this at the bottom of page 4-23). Note the caution about editing ONLY this field. If you edit your entry in /etc/passwd to change the shell, rlogind will invoke the shell you specify. 2) Home directory: On Apollo machines, /usr is actually a link to $(systype)/usr -- is it possible that /usr/nexus exists in /sys5/usr and not in /bsd4.2/usr, and that your default systype for the NODE is sys5? When rlogind runs, it runs with a systype of bsd4.2, and if it doesn't find your home directory at /bsd4.2/usr/nexus, it will leave it set to /. ...walt... -- Walt Weber PHONE: (617) 256-6600 x7004 Apollo Computer GENIE: W.WEBER Chelmsford, People's Republic of Massachusetts