Results 1 to 2 of 2

Thread: .bash_profile Root - SLES12sp3

Threaded View

  1. Re: .bash_profile Root - SLES12sp3

    Quote Originally Posted by kbannister View Post
    Our Security group will be installing Qualys to scan for vulnerabilities and compliance.

    This of course will fill up our bash History. No .... please!!

    I found the fix below in the Qualys documentation. However I cannot find the .bash_profile for root. Any ideas? Thank you.


    To prevent putting Qualys commands in root's history file, add the following to the bottom of the root user's .bash_profile:

    # Added to stop Qualys filling up history

    loginUser=`logname`

    if [ ${loginUser} == qualys ]; then

    export HISTFILE=~/.qualys_history

    fi
    According to the Administration Guide you can use '~/.profile' for that.
    Last edited by strahil-nikolov-dxc; 10-Oct-2019 at 04:06. Reason: Typo

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •