Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site oberon.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!oberon!mcooper
From: mcooper@oberon.UUCP (Michael Cooper)
Newsgroups: net.unix-wizards
Subject: Re: Strange behavior of su
Message-ID: <121@oberon.UUCP>
Date: Mon, 23-Sep-85 21:28:34 EDT
Article-I.D.: oberon.121
Posted: Mon Sep 23 21:28:34 1985
Date-Received: Sat, 28-Sep-85 05:13:16 EDT
References: <314@aphasia.UUCP> <319@ihdev.UUCP>
Reply-To: mcooper@oberon.UUCP (Michael Cooper)
Distribution: net
Organization: University Computing Services, U.S.C.
Lines: 38

In article <319@ihdev.UUCP> pdg@ihdev.UUCP (55224-P. D. Guthrie) writes:
>In article <314@aphasia.UUCP> gww@aphasia.UUCP (George Williams) writes:
>>We are running bsd4.2 on a vax 750.
>>
>>Every now and then after I have been logged in for a while I will try to
>>su, have su ask the password, and then it sits for a bit and exits.  It
>>does not generate any error messages, the exit status is 0.  After this
>>has happened it will keep happening until I log out, I have always been
>>able to su immediately after logging in.
>>
>>Anyone else had this? Anyone know why?
>>
>>			    George Williams
>>			    decvax!frog!aphasia!gww
>
>I had this happen almost all the time on a 4.1 system. However it only
>happened when I su'd to a non-root user. Curiouser and curiouser....
>I never did try to track it down, but I would be interested to know
>what it was. Anyone?
>
>				Paul Guthrie
>				ihnp4!ihdev!pdg

If you are in a directory that is inaccessable to the user you are su'ing
into, then the shell exits.


-- 
					Michael Cooper

+----------------------------------------------------------------------------+
|University of Southern California - University Computing Services	     |
|============================================================================|
|	Usenet: ...!{uscvax, sdcrdcf, engvax, scgvaxd, smeagol,	             |
|		    cit-vax, brand, dworkin, tyger, omnilax}!oberon!mcooper  |
|	Bitnet: mcooper@jaxom 						     |
|	  ARPA:	mcooper@usc-oberon.arpa	OR mcooper%usc-oberon@usc-ecld.arpa  |
+----------------------------------------------------------------------------+