
13 Jun
2014
13 Jun
'14
11:28
On 06/13/2014 12:25 PM, Josef Wolf wrote:
I don't want bash-history for root, even if some variables happen to pass through /bin/su or sudo.
Just an - well, crude - idea: $ rm -f /root/.bash_history $ mknod --mode=666 /root/.bash_history c 1 3 $ ls -l /dev/null /root/.bash_history crw-rw-rw- 1 root root 1, 3 Jun 13 11:55 /dev/null crw-rw-rw- 1 root root 1, 3 Jun 13 13:22 /root/.bash_history ;-) Have fun, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org