From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: What does the minus sign - do?... in the command sudo su - Date: Mon, 30 Sep 2013 13:04:16 -0700 (PDT) Message-ID: <33d8b765-19c5-402c-8428-cd31c6aada47@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1380571515 25250 80.91.229.3 (30 Sep 2013 20:05:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2013 20:05:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 22:05:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VQjiY-00070Q-RU for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Sep 2013 22:05:18 +0200 Original-Received: from localhost ([::1]:51433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQjiX-0001HO-Si for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Sep 2013 16:05:17 -0400 X-Received: by 10.224.126.137 with SMTP id c9mr26566308qas.2.1380571457241; Mon, 30 Sep 2013 13:04:17 -0700 (PDT) X-Received: by 10.50.23.8 with SMTP id i8mr537313igf.8.1380571457163; Mon, 30 Sep 2013 13:04:17 -0700 (PDT) Original-Path: usenet.stanford.edu!q9no458614qas.0!news-out.google.com!9ni803qaf.0!nntp.google.com!q9no458610qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.100.170.55; posting-account=I9e64woAAAAVzkxsw3EYKwEDU5Qp_aCe Original-NNTP-Posting-Host: 188.100.170.55 User-Agent: G2/1.0 Injection-Date: Mon, 30 Sep 2013 20:04:17 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:201493 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93762 Archived-At: On Wednesday, September 25, 2013 11:19:32 AM UTC+2, Don Saklad wrote: > What does the minus sign - do?... in the command > > sudo su - May I propose to use "sudo -i" instead? It starts a login shell. "sudo su -" is similar: sudo starts su which starts a login shell. I think it makes more sense to have sudo start a login shell, than to have sudo start su which starts a login shell...