🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72904

Re: RCS question...

#72904
From: Adam Hammer
Date: Sun, 22 Dec 1991 13:25
25 lines
1841 bytes
danw> However, RCS 5.5 will still use the log name associated with the
danw> user logged onto the machine (in this case, the console) and not
danw> the su-ed user name.
danw>
danw> Does anyone know of a way to get around this without forcing the
danw> user to rlogin to another machine to edit a file?

     Since it doesn't sound like you are running RCS setuid, it might
be as easy as changing an environment variable.  For speed, RCS checks
the LOGNAME (and USER if LOGNAME doesn't exist) environment variable
to get the login name.  Make sure after the people su that this is set
to what you want.  On my system, after I su, it is still set to the
original user name.

     By the way, I tried to send a response to your mail to
rcs-bugs@cs.purdue.edu, however, my mail to danw@hobbes.prime.com
bounced ("hobbes: Host hobbes is down").  If this doesn't answer your
question, send me a note.

----
Adam Hammer                                 Internet: hammer@cs.purdue.edu
Department of Computer Sciences                 uucp: ...!purdue!hammer
Purdue University                              Phone: 317 494-7839
West Lafayette, IN  47907                        Fax: 317 494-0739
Technical Details
Message-ID: <17302@ector.cs.purdue.edu>
Path: arc1-ca.pugleaf.net!gmdzi!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!hammer
References: <1991Dec16.161943@hobbes.prime.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,6a69a693ce47175c,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-12-25 06:49:34 PST
Path: arc1-ca.pugleaf.net!gmdzi!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!hammer
From: hammer@cs.purdue.EDU (Adam Hammer)
Newsgroups: gnu.misc.discuss
Subject: Re: RCS question...
Message-ID: <17302@ector.cs.purdue.edu>
Date: 22 Dec 91 13:25:31 GMT
References: <1991Dec16.161943@hobbes.prime.com>
Sender: hammer@cs.purdue.EDU
Distribution: na
Organization: Purdue University Department of Computer Sciences
Lines: 25