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

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

 



On Friday 07 July 2006 11:54, Tim wrote:
> 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.

Hi Tim. I see the point you're making here, particularly with a multi-user 
system.

This is mainly a problem for newbies, who trying a command, are returned to 
the prompt with a "command not found", which can mean many things. In this 
case the path to the command is missing, but could also be due to a typo, 
need to be root, package not installed, and so on, and is a bit confusing 
initially.

Once you get used to how it all works it's fine, and there's always lots of 
willing help on the various lists.

Nigel.
>
> --

-- 
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