From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,97e0b337ed821fd7 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-06 17:06:27 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!news.cic.net!locust.cic.net!pauls From: pauls@locust.cic.net (Paul Southworth) Newsgroups: comp.unix.osf.osf1 Subject: Re: 'su' in OSF/1 2.0.... Date: 7 Dec 1994 00:43:17 GMT Organization: CICNet, Inc. Message-ID: <3c30f5$dk1@spruce.cic.net> References: <3c1i78$9gg@news.csie.nctu.edu.tw> NNTP-Posting-Host: locust.cic.net In article <3c1i78$9gg@news.csie.nctu.edu.tw>, E-Kai Tsai wrote: > I had upgraded my OSF/1 form 1.3 to 2.0 , > But I found if I su someone , then exit(back) , > then the result of w/who/finger , will show the account that I su, > not the original me !!!... why ? > In v1.3 , it is ok!,,.... The Net2 "su" command works fine under OSF/1. Get the source from ftp.uu.net:/systems/unix/bsd-sources/usr.bin/su The only define it's missing is: #define _PATH_DEFPATH "/usr/bin:/bin" (From paths.h in the Net2 distribution) The Makefile is the new BSD style. I suggest you avoid using it unless you have pmake. Instead: cc -O -o su su.c Works like a charm. -- Paul Southworth CICNet Systems Support pauls@cic.net