From owner-freebsd-questions@FreeBSD.ORG Thu May 29 08:47:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 526F8106566C for ; Thu, 29 May 2008 08:47:40 +0000 (UTC) (envelope-from chrizach@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 23BBE8FC1F for ; Thu, 29 May 2008 08:47:39 +0000 (UTC) (envelope-from chrizach@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4004313rvf.43 for ; Thu, 29 May 2008 01:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=siwAPbamOFhqpnIBHhvThYSxGs7BPS2Nfo8MDk46DWs=; b=viXFC3mp4SR7tA60lO1YM6xgaKr4//mRpmK96yqMYJsEXJu37RBYZIZkI8ZZN4BEdvY5IsQ5SKvaAUZrP/+P3KCQ4udBg9E4e9jqIlJaoiCaJNqMJZmQdARqzyMJHcTd6xik9w8YB7tBudpWkRKCOwEQp3tZVDGJexsHH3qD9Cs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=vwl6XUH0Rf/7NiY0aGTX/RVK0o/QODGUn2PFPs15wkdRpn7Au5PKO2tZq/asDIgal31aFQv8lLOOXUgQQ8onLPNVuOgPhnNhTu2yy2JO+EyPe32W7NnZ37V21y+K0vwd/ys7rGsZZA2abANUo/Mj4Zr114PFn4AS9fnUBDbwpbw= Received: by 10.140.201.8 with SMTP id y8mr1900863rvf.28.1212050859650; Thu, 29 May 2008 01:47:39 -0700 (PDT) Received: by 10.140.142.18 with HTTP; Thu, 29 May 2008 01:47:39 -0700 (PDT) Message-ID: <4a89d1190805290147g7ced55bdy11c44b71a8d2d788@mail.gmail.com> Date: Thu, 29 May 2008 10:47:39 +0200 From: "Christian Zachariasen" To: Gilles , "FreeBSD Mailing Lists" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Renaming "root" to "homer"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 08:47:40 -0000 On Thu, May 29, 2008 at 10:40 AM, Gilles wrote: > Hello > > With all those scripts trying to connect to SSHd as "root", I was > wondering if it'd be OK to rename this account to eg. "homer", to act > as a first line of defense? > > Are there unknown consequences to doing something like that? > > If not, is it done by just editing /etc/password with vi, or is there > a better way? > > Thank you. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Sorry, forgot to send this to the mailing list as well: Not recommended. Instead edit your sshd_config file and change the option PermitRootLogin to "no". Christian Zachariasen