Re: Adding /sbin and /usr/sbin to everyone's path in F10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 24, 2008 at 10:03:30AM -0500, Les Mikesell wrote:
> Axel Thimm wrote:
>> On Wed, Apr 23, 2008 at 09:49:27PM -0700, Toshio Kuratomi wrote:
>>>> If you don't know how to find ifconfig and add it to
>>>> your $PATH then you probably would just shoot yourself in the foot
>>>> with it, if you don't know but are motivated you can certainly find
>>>> this info easily enough. Our time on this earth is limited  but its
>>>> not that limited.
>>> Actually, it is.  Every day, lose six minutes from having to retype a 
>>> sudo line due to not having a PATH configured with sbin.  Most likely 
>>> when you're already stressed that something is broken and you just want 
>>> to find out what as quickly as possible.
>>
>> If you know something is broken and you need to fix it then why use
>> sudo on every call to something needing root privileges and not do the
>> right thing and su -/sudo -i and diagnose and fix the problem?
>
> That fixes your PATH, but it breaks your working directory if you were 
> already in the right place.

You only issue sudo -i/su - once, so copy-pasting the pwd output from
before would be a one time act. And since you immediately sudo'd/su'd
once you logged it you don't have to care about that problem anyway.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpsRMpI4xJZV.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux