From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NlsAA-0004BA-Su for garchives@archives.gentoo.org; Sun, 28 Feb 2010 23:03:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19A9CE0A94 for ; Sun, 28 Feb 2010 23:03:02 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.144]) by pigeon.gentoo.org (Postfix) with ESMTP id 31156E0D2E for ; Sun, 28 Feb 2010 22:18:45 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 5so265823eyb.40 for ; Sun, 28 Feb 2010 14:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=1RF4fkroHzMLqwJFT9+3g+gQ8F0wAKMiDrNezWvcDAQ=; b=CXFUs9ZU/zRuSNJkLd/4BWsD0N0DmESMZRLrBp2JuHrWjp7UDhG0xz2aLzLSx5FK2/ 27b0oYJOdjgZ0KI3W/uxx6j751nhXzq/vNbzvU75YjwEwIHod/TSU1Hl6xcY+QGVhIwA ivW3ZfAiipmgh6Ingt5mwpu+R3MAaWnPPRFEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=RemBBTNxIKaY9YD3J+GOIoKJSTYCYbvIsVy2iHhUw2pRVhmadTfr2NDKdHUB1ttZ+u 7S5aDuQOLOflgMwfnbBQSuNuGag3QfJVzc3BgtFT+7b65Ra2yGarLIS925QqyyZSUXZo vQNpFrtbMXBEfM+/aCjWsiV+bIjFoGFdRm7TE= Received: by 10.213.97.24 with SMTP id j24mr2630141ebn.95.1267395524619; Sun, 28 Feb 2010 14:18:44 -0800 (PST) Received: from nazgul.localnet (196-210-238-8.dynamic.isadsl.co.za [196.210.238.8]) by mx.google.com with ESMTPS id 15sm1837864ewy.8.2010.02.28.14.18.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Feb 2010 14:18:44 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo. Date: Mon, 1 Mar 2010 00:16:14 +0200 User-Agent: KMail/1.13.0 (Linux/2.6.32-zen6; KDE/4.4.0; x86_64; ; ) References: <4B89E9B0.3040505@gmail.com> <30b96cd61002281256t7bd260f6k53f61267ad76698@mail.gmail.com> <20100228212757.GA28248@linux1> In-Reply-To: <20100228212757.GA28248@linux1> 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003010016.14284.alan.mckinnon@gmail.com> X-Archives-Salt: dd774ddd-26b4-4b5b-8573-fa3869cabb34 X-Archives-Hash: 029a987c23daf30dfa99baaddc90c1a3 On Sunday 28 February 2010 23:27:57 William Hubbs wrote: > > 7 years ago a veteran Linux user taught me to always use su - for the > > very reason you stated. > > > Actually, you are safe with either "su -" (without sudo) or "sudo -i". > "sudo su -" is chaining "su -" on top of sudo, and is redundant because > "sudo -i" and "su -" do the same thing afaik. "sudo su" and "su" have a fundamental difference, vital in corporate networks: The former uses the user's password for authentication and sudoers for authorization. The latter uses knowledge of the root password for authorization and authentication. See my other post in this thread. On the work servers I enforce "sudo su" OTOH, "sudo su" is indeed pretty pointless on a single-user machine. I never bother with sudo on this gentoo notebook for instance. -- alan dot mckinnon at gmail dot com