From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,15ffd947bb4a3c47,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-05 18:49:06 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!bogus.sura.net!news-feed-1.peachnet.edu!umn.edu!lynx.unm.edu!mimbres.cs.unm.edu!nmt.edu!csugrad.cs.vt.edu!not-for-mail From: eschwab@csugrad.cs.vt.edu (The Edster) Subject: .rhosts, rlogin, and DEC Ultrix 4.2... Message-ID: <1s6umg$nms@csugrad.cs.vt.edu> Sender: news@nmt.edu (News software) Nntp-Posting-Host: csugrad.cs.vt.edu Organization: Virginia Tech Computer Science Dept, Blacksburg, VA Date: Tue, 4 May 1993 23:36:48 GMT I've found a strange little bug with DEC Ultrix 4.2A's rlogin that I'd like to share with you guys... Any ideas on why this is happening? Is this a known bug? If a user has a large .rhosts file (I'm not sure quite how long, I haven't experimented with this aspect too much; long here is ~120 lines...), that user can log into the system with nothing being recorded in /etc/utmp, nor in /usr/adm/wtmp by simply rlogging into the system. If the machine that the user is rlogging in from is not in .rhosts and the user fails to enter his or her password right on the first try, the session will be put into wtmp and utmp... Miscellaneous ramifications of this: - Since there's no entry for that person in utmp, who/w/etc won't show the user as being logged in, although (of course) processes are still shown when a ps is done... - Likewise, programs like biff/comsat and others will fail to see the person as logged on... - The person will not be able to access any files of any groups he or she is in... - Any programs that do user authentication with getlogin() or similar procedures that look in /etc/utmp will fail.. - Programs that access wtmp for data (last, general accounting progs...) will not be correct... Other accounting programs that use real accounting files are unaffected... Just a little something strange I discovered. :) - Ed -- <>====================================<>============================<>======//<> || Ed Schwab -- Technician, SysAdmin || eschwab@csugrad.cs.vt.edu || // || || NRAO Computing // Array Op. Center || @polaris.cv.nrao.edu || // || || Charlottesville, VA // Socorro, NM || @hopper.acs.virginia.edu ||\\ //___|| <>====================================<>============================<> \X/ | || ||"He's just your typical hacker-scum"|| 2nd year CS major, VA Tech || | || <>====================================<>============================<>========<>