From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,697f03035701b15c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-04-29 23:10:48 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!sdd.hp.com!nigel.msen.com!caen!batcomputer!munnari.oz.au!metro!physiol.su.OZ.AU!cortex.physiol.su.oz.au!johnd From: johnd@cortex.physiol.su.oz.au (John Dodson) Subject: Re: Bug in 'su' under Ultrix 4.3 Message-ID: Sender: news@physiol.su.OZ.AU (The News System) Nntp-Posting-Host: cortex.physiol.su.oz.au Organization: Department of Physiology, University of Sydney, NSW, Australia References: <1993Apr28.095535@ceres.rm.fccc.edu> <1rn0u2INN2k3@topaz.bds.com> Date: Fri, 30 Apr 1993 05:44:38 GMT In <1rn0u2INN2k3@topaz.bds.com> ron@topaz.bds.com (Ron Natalie) writes: >My bitch is that on my machine (Alpha) running su seems to do a gratuitous >cd /. That particular one has been there since Berzerkely, it got me when I went from a V7 Unix (where su left you in the current directory) to BSD (around 1986 ? - in which an su took you to the home directory of the user su'd to ;-) >I got to figure out how to restore osfboot and vmunix from the CDROM >as a result of... > $ pwd > /usr/somewhere > $ rm * > foo: permission denied > $ su > Password: > # rm * After su'ing to root I did... chown -R johnd * It took a few seconds before I thought " mmm this is taking a while" & killed it. It had chown'd /bin /etc /lib & half of /dev :-( but luckily no mounted filesystems, it took a while to restore all the right ownerships, especially the suid one's. johnd@physiol.su.oz.au