Re: What to do when a command isn't found?

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

 



On Thu, 2006-07-06 at 20:50 +0200, nigel henry wrote:
> It would make sense for /bin /sbin /usr/bin /usr/sbin being in ~/.bash_profile 
> as default. /usr/local/bin, and /usr/local/sbin probably are not neccessary, 
> as these would only be there from user installed source tarballs.
> 
> There do not seem to be any security issues here, as any user can add pathways 
> to ~/.bash_profile, and they can only read the info, not change it.

There probably still are things that a user can do some harm with sbin
commands, so I wouldn't be too carefree about it.  On a single user
system it probably isn't too much of a problem, beyond having to fix up
what went wrong (though they'd have to know what to do).  Keeping them
out of the path helps against accidents and following bad advice.

On a multi-user system there's more potential to cause a problem.
Putting such commands in sbin sub-directories makes it less likely for
them to be used accidentally.  And it can be a method of making it next
to impossible for unauthorised users to use those commands.

-- 
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux