From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,38255a8e87a5ad4d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-18 10:50:35 PST Path: bga.com!news.sprintlink.net!news.onramp.net!convex!news.duke.edu!news-feed-1.peachnet.edu!dekalb.dc.peachnet.edu!dekalb.dc.peachnet.edu!not-for-mail From: douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) Newsgroups: comp.unix.osf.osf1 Subject: Re: SUing does strange things to my tty... Date: 18 Jul 1994 12:48:42 -0400 Organization: DeKalb College, Clarkston GA Message-ID: <30ebpa$kd6@dekalb.DC.PeachNet.EDU> References: <2u3qbj$1i7@maxwell-07.cs.strath.ac.uk> NNTP-Posting-Host: dekalb.dc.peachnet.edu In article , Patrick Lawrence wrote: >Hi, > >I have a problem with OSF/1 V2.0. Here is a look at the ownership of my >tty before su'ing. > >crw--w---- 1 pjl terminal 6, 3 Jun 20 12:00 /dev/ttyp3 > >It's perfectly fine. Now, I'll su to root. > >crw--w---- 1 root terminal 6, 3 Jun 20 12:02 /dev/ttyp3 > >Root now owns the tty device and never gives ownership back to me after root >exits. > >crw--w---- 1 root terminal 6, 3 Jun 20 12:03 /dev/ttyp3 > >Other systems I tried never changed the ownership of the tty device to root. >What's going on here? > >Thanks, > >Pat >-- >-- > "You know what? You're pretty when you're angry..." - Ian Faith > Patrick J. Lawrence - UCD Mathematics and ITD System Administrator > lawrence@math.ucdavis.edu lawrence@itd.ucdavis.edu pjlawrence@ucdavis.edu > 585 Kerr Hall - 2222 Academic Surge | Finger my account for office hours. For what it is worth, under 1.3A the original ownership is maintained. In other words, it is not changed to root, but kept as that user who did the su command. I tried this with both: %su root and %su - root Did u just do a su, or "su -". Could that be the diff. on 2.0. Does this problem exist in 3.0? Any 3.0 users out there who can answer this? Cheers, Douglas