Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: johnd@cortex.physiol.su.oz.au (John Dodson)
Subject: Re: Bug in 'su' under Ultrix 4.3
Date: Fri, 30 Apr 1993 05:44:38 GMT	[thread overview]
Message-ID: <johnd.736148678@cortex.physiol.su.oz.au> (raw)
In-Reply-To: 1rn0u2INN2k3@topaz.bds.com

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


  parent reply	other threads:[~1993-04-30  5:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-28 13:57 Bug in 'su' under Ultrix 4.3 Steve Rosen
1993-04-28 18:41 ` Robert J. Granvin
1993-04-28 22:36   ` Ron Natalie
1993-04-29 13:57     ` Mike Iglesias
1993-04-29 17:29     ` Stephen Carpenter
1993-04-30  5:44     ` John Dodson [this message]
1993-04-28 18:47 ` Mitch Collinsworth
1993-04-28 23:02 ` Max Maklin
1993-04-29 10:55 ` Sebastian Meyer
1993-04-29 17:46   ` Wuxu Peng
1993-04-30 16:33     ` Peter Churchyard
1993-05-03 22:41   ` Eric Bushnell
1993-04-29 16:35 ` Magnus Harlander
1993-05-01  2:29 ` Jeff Aitken
  -- strict thread matches above, loose matches on Subject: below --
1993-04-28 20:49  Achille Hui, the Day Dreamer 
1993-05-03  3:10 ` David Burren [Athos]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox