Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
avodonosov
· 4y ago · 0 comments
Is it secure to have ~/bin/ it the PATH?
Comments
[–]
paulv
4y ago
The issue is that an exploit could write a file in ~/bin/ and trick you in to executing it. But, if something malicious is writing files in your home directory, you've already lost.
[–]
syoc
4y ago
If someone can write to your home directory they can also update your bashrc file and add whatever they want to PATH
[–]
suprjami
4y ago
It's a default behaviour of at least bash. It's as secure as your home directory is.