From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9e658f29f3e3c0cd X-Google-Attributes: gidfee84,public From: Ed Wensell III Subject: Re: Help: Logging in as root problem Date: 1999/08/08 Message-ID: <37AE2751.3495@pstcc.cc.tn.us.net>#1/1 X-Deja-AN: 510427455 Content-Transfer-Encoding: 7bit References: <37ae0984.8858957@news.auckland.ac.nz> Content-Type: text/plain; charset=us-ascii Organization: Pellissippi State Technical Community College Mime-Version: 1.0 Reply-To: postmaster, root, system, abuse, webmaster Newsgroups: comp.unix.osf.osf1 F. Flintstone wrote: > > I used to be able to log in as root with X-win32 to the DEC server > running Unix 0.4d. But now when I type try it it says "not on > console". I have no idea why I can no longer log in as root from a > machine that is not the server. Help! Thanks. First, allowing direct root logins from anywhere except the console is a bad idea. Use of su and/or the X equivalent (which usually pops up automagically when root-type privileges are needed) is usually a better idea. Unless, of course, you are also on a college campus with an open network where students run sniffers, at which point adopting a "no clear-text root accessible passwords" policy is a good idea. With that said... Have you made any changes recently, along the lines of setting up "Enhanced Security", patches, or upgrades? In any case, /etc/securettys lists the hosts/teminal lines/etc where direct root logins are allowed. By default it will only have /dev/console and :0. I added /dev/tty00 for a directly connected VT420 within 3 feet of the machine. You will need to add the display name of the Xserver you are wanting to login from (kept in /etc/auth/system/ttys ??). More info can be found in man securettys or in the online DUNIX Docs under the "System Administration" section. -- Until soon... Ed Wensell III