Security question
Oliver Grawert
ogra at ubuntu.com
Wed Dec 18 10:18:52 UTC 2013
hi,
Am Dienstag, den 17.12.2013, 14:43 -0600 schrieb C de-Avillez:
> On Tue, Dec 17, 2013 at 1:40 PM, Rashkae <ubuntu at tigershaunt.com>
> wrote:
> Allright, fair point. But to clarify, I'm not suggesting
> removing ~/bin from the default PATH. However, it should be
> added to the end of the path, not prepended to the
> system /bin /sbin.
>
> This is an user choice. ~/bin is *empty* when a new user is created.
nope, ~/bin does not exist at all for a freshly created user...
the snippet in ~/.profile will only add it to your PATH if the user
actively created it (which is why someone in the thread did not see it
at all in his PATH)
cat ~/.profile
...
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
...
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20131218/4dbfb581/attachment.sig>
More information about the ubuntu-users
mailing list