Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] sudo vs su
Date: Sun, 28 Feb 2010 19:20:28
Message-Id: 20100228192001.GA27838@linux1
1 All,
2
3 I am starting this thread because I don't understand why people are
4 using sudo and su together. They are completely separate utilities that
5 do the same thing. AFAIK, it should be either "sudo -i" or "su -", but
6 not "sudo su -" which I have seen quite often. "sudo su -" is redundant
7 because "su -" does the same thing as "sudo -i".
8
9 "sudo -s", afaik, gives you a root shell but does not clear
10 out the environment first.
11
12 Am I completely missing something?
13
14 William

Replies

Subject Author
Re: [gentoo-dev] sudo vs su Denis Dupeyron <calchan@g.o>
Re: [gentoo-dev] sudo vs su Mike Auty <ikelos@g.o>