From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5588d681f283f4f4 X-Google-Attributes: gid1164f8,public From: ab915@torfree.net (William J. Hayes) Subject: Re: [Ultrix] How to su after enabling "enhanced password security"? Date: 1997/08/09 Message-ID: #1/1 X-Deja-AN: 264596290 References: <5rspho$bsf@post.gsfc.nasa.gov> Organization: Toronto Free-Net Newsgroups: comp.sys.dec I know it is profoundly crufty but ... I have the extra serial ports on my work stations hooked together with null modem cables so that I can simply login. Cheers, Bill Dave Cottingham (dc@cobi.gsfc.nasa.gov) wrote: : We turned on password shadowing on a RISC Ultrix 4.4 machine, which : DEC calls "enhanced password security" (see secsetup(8)), because it : seems like a real good idea. But when you do this secsetup apparently : tweaks some other knob so that su can only be done from a "secure" : terminal. The bottom line is that you can become root only by : displacing the guy that's using the workstation, logging him off, and : logging in as root. In other words, you can't really su from anywhere : (except terminals connected to the serial ports, but call us silly, we : don't have terminals connected to our workstations). : From reading the manual, I see only one fix, which is to mark all the : pseudoterminals in /etc/ttys as secure. However, this has the effect : that anybody anywhere can use telnet to directly log in as root. This : is a little too unsecure for our taste. : What we would like is to have the original su behavior, which is that : direct root login can only happen at the workstation, but any other : terminal can su. Anybody know how to do this while keeping the shadow : password? : Any help much appreciated, system maintenance is becoming a real chore : like this. : - Dave Cottingham : PS As a special added bonus, I have put together a patch to pop3d to : make it work with "enhanced password security." Just posted it to : alt.sources.