From: floyd@apaflo.com (Floyd L. Davidson)
To: help-gnu-emacs@gnu.org
Subject: Re: What does the minus sign - do?... in the command sudo su -
Date: Wed, 25 Sep 2013 04:52:27 -0800 [thread overview]
Message-ID: <87mwn1njw4.fld@apaflo.com> (raw)
In-Reply-To: mailman.2834.1380100781.10748.help-gnu-emacs@gnu.org
Don Saklad <dsaklad@gnu.org> wrote:
>What does the minus sign - do?... in the command
>
> sudo su -
>
>.
It should cause you to read the man page for su, where it is explained
as the equivalent of -l or -login. But you want to read the details
of exactly what that means...
In practice it's the way you select the environment you'll be in after
the su command. If you want to retain your own login environment, don't
use the -login option. If you want the environment the specified user
would normally get, use the -login option.
--
Floyd L. Davidson http://www.apaflo.com/floyd_davidson
Ukpeagvik (Barrow, Alaska) floyd@apaflo.com
next prev parent reply other threads:[~2013-09-25 12:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2834.1380100781.10748.help-gnu-emacs@gnu.org>
2013-09-25 12:35 ` What does the minus sign - do?... in the command sudo su - Pascal J. Bourguignon
2013-09-25 12:36 ` Pascal J. Bourguignon
2013-09-25 12:52 ` Floyd L. Davidson [this message]
2013-09-30 20:04 ` Kai Grossjohann
2013-09-25 9:19 Don Saklad
2013-09-25 9:27 ` Peter Dyballa
2013-09-25 13:09 ` Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwn1njw4.fld@apaflo.com \
--to=floyd@apaflo.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.