Where is this defined?
I won't go into the long story, suffice it to say I found
out the hard
way it is set as
/usr/bin:/bin
/bin being a link to /usr/bin why even have /bin there?
More important (to me) is the fact that /usr/sbin isn't
there.
I have added the path to the default crontab for root, so
everything
works now.
It just seems wrong to me about the default.
Anyone explain to me where I'm not right?
The simple solution was to throw everthing in one place and symlink the directories to avoid problems in obsolete scripts not finding thelink-to-usr-bin
desired executable in some circumstances.
Another explanation may be found at
https://unix.stackexchange.com/questions/266517/why-is-bin-a-symbolic-
Cheers!
jim b.
On Wed, 1 May 2024 15:05:18 -0000 (UTC), Jim wrote:.... >> jim b.
<snip>
The simple solution was to throw everthing in one place and symlink
Thanks.
This I understand, my question was more about why there weren't any other paths. Like /usr/sbin included, which contains the commands not meant for mere mortals.
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 763 |
Nodes: | 10 (0 / 10) |
Uptime: | 179:28:38 |
Calls: | 111 |
Files: | 46,971 |
Messages: | 11,214 |