Re: Cannot display /etc/fstab
From: Gordon (gordon_at_gbpcomputing.co.uk.invalid)
Date: 06/23/05
- Next message: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Previous message: Vic: "Re: Cannot display /etc/fstab"
- In reply to: Vic: "Re: Cannot display /etc/fstab"
- Next in thread: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Reply: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Jun 2005 10:19:28 +0100
Vic wrote:
>>Slightly off-topic but similar, when I su in a terminal, (FC4) I can't
>>use FDISK! I get bash - fdisk not found. Yet if I log in as Root user, I
>>can use FDISK! Strange.
>
>
> That's just a path thing.
>
> fdisk sits in /sbin/ - which will be in your path when you are the root
> user, but not so when you are anyone else.
>
> If you're just using "su" to get to be root, it still won't be in your
> path. su leaves the environment untouched unless you specify "su -".
>
> HTH
>
> Vic.
>
>
>
>
>
A very lucid reply. Thanks! How do I add /sbin/ to my user's path?
-- Registered Linux User no 240308 Fedora Core 4, Pan, Thunderbird and Firefox gordonATgbpcomputingDOTcoDOTuk to email me remove the obvious!
- Next message: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Previous message: Vic: "Re: Cannot display /etc/fstab"
- In reply to: Vic: "Re: Cannot display /etc/fstab"
- Next in thread: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Reply: Ivan Marsh: "Re: Cannot display /etc/fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|