From owner-freebsd-questions@FreeBSD.ORG Fri May 30 16:16:37 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 B8D01106566C for ; Fri, 30 May 2008 16:16:37 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 999AE8FC1F for ; Fri, 30 May 2008 16:16:37 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m4UGCWHv042671; Fri, 30 May 2008 12:12:32 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m4UGCWOn042670; Fri, 30 May 2008 12:12:32 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 30 May 2008 12:12:32 -0400 From: Jerry McAllister To: Wojciech Puchar Message-ID: <20080530161232.GA42590@gizmo.acns.msu.edu> References: <200805301453.m4UErWlE011463@lurza.secnetix.de> <20080530170151.D2560@wojtek.tensor.gdynia.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080530170151.D2560@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.4.2.2i Cc: gilles.ganault@free.fr, freebsd-questions@freebsd.org 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: Fri, 30 May 2008 16:16:37 -0000 On Fri, May 30, 2008 at 05:03:06PM +0200, Wojciech Puchar wrote: > >Peope have already pointed out that it is a bad idea to > >allow remote root logins, so I won't repeat that. :-) > > i like bad ideas :) except the worst idea - dumb generalization. > > >But to answer your question: Renaming the "root" account > >will probably break quite a log of things, for example > > make 2 roots, root and homer in /etc/master.passwd > > just remember to type > passwd root > > or > > passwd homer. Yes, you can make an alternately named root (such as toor is just that) with its own login directory and .cshrc, window manager, etc But is still bad to log in directly as any of these roots from a remote location. As has been mentioned, you should ssh in to a non-root account and then su to the root. You can su to the alternate root and then not give the main root a password if you like. ////jerry > _______________________________________________ > 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"