From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LWVOb-0002bC-OR for garchives@archives.gentoo.org; Mon, 09 Feb 2009 12:37:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B04CE04A1; Mon, 9 Feb 2009 12:37:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EA5EE04A1 for ; Mon, 9 Feb 2009 12:37:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id CCA8F65253 for ; Mon, 9 Feb 2009 12:37:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.399 X-Spam-Level: X-Spam-Status: No, score=-3.399 required=5.5 tests=[AWL=0.200, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AtPyUDkHsj9T for ; Mon, 9 Feb 2009 12:37:45 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 28B45652C6 for ; Mon, 9 Feb 2009 12:37:44 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LWVOM-0001NO-Sd for gentoo-user@gentoo.org; Mon, 09 Feb 2009 12:37:38 +0000 Received: from athedsl-106107.home.otenet.gr ([87.203.54.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Feb 2009 12:37:38 +0000 Received: from realnc by athedsl-106107.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Feb 2009 12:37:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Permissions of /etc/sudoers Date: Mon, 09 Feb 2009 14:37:31 +0200 Organization: Lucas Barks Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-106107.home.otenet.gr User-Agent: Thunderbird 2.0.0.19 (X11/20090203) In-Reply-To: Sender: news X-Archives-Salt: e52ddb84-710c-49fd-a46b-53395e1652dd X-Archives-Hash: 0817c89e2f1f723b560e27a31fc4a5ef Stroller wrote: > I install sudo, give my user wide sudo rights and then set > "PermitRootLogin no" in /etc/ssh/sshd_config. > (Critique of this measure welcomed). Since Hung already answered about the other problem, I'll just comment on this. It's a bad idea if the machine is open to the Internet, especially since it's easy to simply "su -" or "sudo" as a normal user.