Adding /sbin and /usr/sbin to everyone's path in F10
Les Mikesell
lesmikesell at gmail.com
Fri Apr 25 18:58:11 UTC 2008
max bianco wrote:
>
>>> What about the
>> > user who hoses his system with fdisk by accident? Will he love Fedora
>> > for it?
>>
>> A normal user running fdisk sees:
>>
>> $ fdisk /dev/sda
>> You will not be able to write the partition table.
>>
>> Command (m for help):
>>
>> System-hosing seems to be ruled out.
>>
>> http://www.math.clemson.edu/~mjs
>>
> To which i will answer, for the last time I promise, why let them use
> it at all if they cannot use it for its intended purpose. Namely
> partioning disks. There are other commands as well , i used fdisk as
> an example not to change the focus of the topic but it is what it is,
> it isn't up to me anyway.
/sbin/fdisk -l /dev/sda
is very useful - for example if you want to duplicate a system setup or
just be prepared to restore after a disk failure. And it's obviously
safer to run it as non-root instead of encouraging people to 'su -' even
for read access. The point still is that it is permissions that always
should control who can do what, not obscurity.
--
Les Mikesell
lesmikesell at gmail.com
More information about the devel
mailing list