Re: question about fdisk

From: Jim Gribbin <Jim@JimGribbin.com>
Date: Thu Oct 13 2005 - 23:01:16 AKDT

This is weird, maybe your it's that boxes are setup as servers and and
my box is workstation.
My workstation at home is FC4. It's slowly been upgraded 1 step at a
time from about RH 7.2 or 7.3. /sbin/<whatever> is not in the users
path, it is in root's. I've never modified the path that I can recall.

echo $PATH as user gives:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jimg/bin

as root gives:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

Lately I've been playing with SuSE and Gentoo, but ask anyone at Friday
Linux, I've been a regular RH user since 6.1. I don't remember ever
having to add /sbin when logged in as root. Only as user.

Joshua Kugler wrote:
> On Wednesday 12 October 2005 18:33, Greg Madden wrote:
>
>>On Wednesday 12 October 2005 06:27 pm, Bob Crowe wrote:
>>
>>>Howdy,
>>> I have FC3 (I gave up on FC4...I think I have a corrupted disk) and
>>>I'm trying to check out the fdisk utility. I open a terminal, log in as
>>>superuser than enter "fdisk /dev/hda" and I get this message "bash:
>>>fdisk: command not found" I thought fdisk came automatically with FC3?
>>>Does anyone have any suggestions? Also I used this site to setup my FC3
>>>reinstallation and it solved a lot of problems for me including my
>>>multimedia playability, it also has a guide for FC4 for those that are
>>>interested. Take care, Bob.
>>>
>>>http://stanton-finley.net/fedora_core_3_installation_notes.html
>>
>>It might be a PATH issue, have you tried '/sbin/fdisk' ? That is needed on
>>some distro I looked at once, long ago, far away. 'whereis fdisk' might
>>tell you where it is located.
>
>
> That seems to be a "left over" from the Redhat way of doing things. /sbin
> and /usr/sbin are never in root's PATH. Why? I have no idea. All my other
> boxes (Mandrake and CentOS) have the sbin's in root's path, and whenever I
> get on a Redhat box (we have two left over that we haven't upgraded) it
> sometimes takes me 15 seconds to realize why I can't find any commands. :)
>
> j----- k-----
>

-- Binary/unsupported file stripped by Ecartis --
-- Type: text/x-vcard
-- File: Jim.vcf

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Oct 13 23:03:22 2005

This archive was generated by hypermail 2.1.8 : Thu Oct 13 2005 - 23:03:22 AKDT