From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,98fba0c53dbc208a X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.magma.ca!news.magma.ca.POSTED!not-for-mail NNTP-Posting-Date: Mon, 14 Feb 2005 20:39:26 -0600 Date: Mon, 14 Feb 2005 21:39:24 -0500 From: Mario Stargard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, ja, de MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: SSH logins only References: <420f1c90$0$503$626a14ce@news.free.fr> <420f1cc4$0$496$626a14ce@news.free.fr> In-Reply-To: <420f1cc4$0$496$626a14ce@news.free.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <06udnc-htOVD_YzfRVn-vA@magma.ca> NNTP-Posting-Host: 209.217.122.220 X-Trace: sv3-hLWWFwqvRC7AL/R+oxgSB/YqrAOXtOm34NmpnoNywHv4gelp/ebkxZqDO8UCOpvc4B8uua9PLtjZtQu!a09Qp2plbKhNKR9SSNMuzKbppbgWcQYs+DFAWu3NxpjT9IfH3G/ouy6zN2bV4EE5vbB7kujkcW4= X-Complaints-To: abuse@magma.ca X-DMCA-Complaints-To: abuse@magma.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.23 Xref: g2news1.google.com comp.unix.tru64:592 TCH wrote: > it's this the /etc/securettys file of course..... > "TCH" wrote in message > news:420f1c90$0$503$626a14ce@news.free.fr... > >>Try to edit this file: >> >>#cat securettys >> >>/dev/console >>local:0 >>:0 >> >>And set sshd option "permit root login" to yes (the default one i suppose) >>+ restart sshd >> >>"Jack Patteeuw" wrote in message >>news:LrpPd.10017$oO.4010@newsread2.news.atl.earthlink.net... >> >>>On Tru64 V5.1B, how do I limit remote root logins to SSH (PuTTY) logins >>>ONLY ! (i.e. no telnet, no rsh, no rexec, no remote anything) >> >> > > If the ptys aren't trusted, I don't think you'll be able to actually login. You can pass commands to ssh; even /bin/sh. But actually logging in won't work, unless the stock sshd is different than the one I compiled. One should disallow all telnet sessions, even if root can only log in using ssh. This is because the attempt of logging in as root using telnet will be passed over the network in the clear. If you have regular users using telnet, then restricting root to only use ssh isn't going to do much for the security posture, in my opinion. Regular accounts with clear passwords on the wire are a threat because many exploits require you to start with regular user privileges. If you are forced to use telnet, look at other options like ipsec. Mario