Skip to content

Commit 8b2757a

Browse files
committed
Made an addition on entering a password at the command line
1 parent c0fc84f commit 8b2757a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/hints.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ where COMMAND is the Linux command you want information about, like ``ls``, ``mk
3535
- You can change the number of saved commands by setting the environment variable HISTSIZE in your <code>.bashrc</code> file in your home directory.
3636
- Example: Open <code>.bashrc</code> with <code>nano</code>. Somewhere (at the end for instance) add: <code>export HISTSIZE=NUMBER</code> where <code>NUMBER</code> is the number of commands to save, for instance 500.
3737

38+
!!! warning Passwords in the history file
39+
40+
If you enter a password (e.g. login for a computer or website) at the command prompt and hit returnm the password will be included into the <code>.bash_history</code> file. This is not encrypted in any way. In particular when using a shared system as offered by NAISS, it is best to reset the password to a new, save value on the computer or website where you have been using it.
41+

0 commit comments

Comments
 (0)