From: William Hubbs <williamh@gentoo.org>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] sudo vs su
Date: Sun, 28 Feb 2010 13:20:01 -0600 [thread overview]
Message-ID: <20100228192001.GA27838@linux1> (raw)
[-- Attachment #1: Type: text/plain, Size: 475 bytes --]
All,
I am starting this thread because I don't understand why people are
using sudo and su together. They are completely separate utilities that
do the same thing. AFAIK, it should be either "sudo -i" or "su -", but
not "sudo su -" which I have seen quite often. "sudo su -" is redundant
because "su -" does the same thing as "sudo -i".
"sudo -s", afaik, gives you a root shell but does not clear
out the environment first.
Am I completely missing something?
William
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2010-02-28 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-28 19:20 William Hubbs [this message]
2010-02-28 19:52 ` [gentoo-dev] sudo vs su Denis Dupeyron
2010-02-28 20:28 ` Graham Murray
2010-02-28 20:42 ` William Hubbs
2010-02-28 20:45 ` Alec Warner
2010-02-28 19:55 ` Mike Auty
2010-02-28 20:53 ` Alec Warner
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=20100228192001.GA27838@linux1 \
--to=williamh@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox