From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5588d681f283f4f4,start X-Google-Attributes: gid1164f8,public From: dc@cobi.gsfc.nasa.gov (Dave Cottingham) Subject: [Ultrix] How to su after enabling "enhanced password security"? Date: 1997/08/01 Message-ID: <5rspho$bsf@post.gsfc.nasa.gov>#1/1 X-Deja-AN: 261298998 Summary: added bonus: patch to pop3d to work w/ ditto Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.sys.dec 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.