From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,38e5afebd022f80e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-25 16:53:18 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!news.sprintlink.net!news.clark.net!usenet From: mjf@clark.net (Marc Fraioli) Newsgroups: comp.unix.osf.osf1 Subject: Re: xlock + ENHANCED SECURITY ?! Date: 25 Jul 1994 23:49:07 GMT Organization: Fraioli's Linux Hacking and Chowder Society Message-ID: <311j1j$1so@clarknet.clark.net> References: <30vs1n$87c@news.tuwien.ac.at> Reply-To: mjf@clark.net NNTP-Posting-Host: mjf_ppp.clark.net Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In article 87c@news.tuwien.ac.at, ul@eacpc4.tuwien.ac.at (Udo Linauer) writes: >Has anybody ported xlock to OSF1 V2.0 with ENHANCED SECURITY ? > >Are there arguments against running xlock with root permissions, >e.g. known security holes in the code ? > I have been thinking about the same issues. I would be very hesitant to run xlock setuid to root. Since it wasn't designed to run that way, you might well be opening up a nasty can of worms. But since only a process running with root priviledge can get at the encrypted passwords under enhanced security, we have a problem. I was thinking of writing a simple user authentication daemon which would be passed a user name and a clear-text password, and it would tell you whether it was right or wrong. It would deliberately have a long delay in it and do ridiculous amounts of logging to prevent its use as a password-guessing routine. It might also be possible to make it accept requests only from processes running with a certain gid, and then make programs that need to issue requests to it setgid to that, thus reducing your risks some. An better alternative is to make something which works like NIS+ under Solaris 2.3. That is, a user can see his or her own encrypted password, but no one elses. Dunno, can anyone think of a better way around this? --- Marc Fraioli | "They couldn't hit an elephant at this dist- " mjf@clark.net | - Last words of Union General John Sedgwick, | Battle of Spotsylvania Court House, U.S. Civil War