On Sun, Jul 13, 2008 at 9:55 AM, Scott Robbins <scottro@xxxxxxxxxx> wrote: > On Sun, Jul 13, 2008 at 12:05:48PM -0400, Filipe Brandenburger wrote: >> On Sat, Jul 12, 2008 at 11:39 PM, Akemi Yagi <amyagi@xxxxxxxxx> wrote: >> >> a) In section 2.1 it is said: "[user@host]# yum install rpm-build". To >> >> 'yum install' something you need to be superuser (as confirmed by '#' >> >> prompt before the command). Shouldn't the example read: >> >> "[root@host]# yum install rpm-build"? >> > >> > Yes, this should be root@ instead of user@. >> >> Or, wouldn't this be better? >> >> [user@host]# sudo yum install rpm-build > > One problem with sudo in RH based systems is that it doesn't have root's > $PATH by default. On my own pages, I have a page explaining this, and > when I use sudo in a tutorial, I direct the reader who isn't clear on it > to view that page. (I usually use the phrase, as root or with root > privilege.) > > While $PATH doesn't matter for this command, it can with others. > If there's already a page explaining sudo on the wiki (too lazy to look > right now) then a link to it would be sufficient, I think. For someone lazy: http://wiki.centos.org/TipsAndTricks/BecomingRoot#head-5a98c43bd135904d720095ff461d52aa7b51412d Akemi