Results 1 to 4 of 4

Thread: Increase history retention for root

  1. #1

    Default Increase history retention for root

    I know the sudo vs root argument. No need to debate that here.

    I notice root does not have .profile file. History size is also set at 1000. If I wanted to increase that value and created .profile for root is that considered a security risk, even with correct permissions?

    Am I better off creating this in /etc/profile.local and just making it global for all users?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,815
    Blog Entries
    3

    Default Re: Increase history retention for root

    You can create a ".profile" for root.

    Whether that's a security problem, depends on what's in that profile.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Increase history retention for root

    Quote Originally Posted by nrickert View Post
    You can create a ".profile" for root.

    Whether that's a security problem, depends on what's in that profile.
    Thanks. That is what I figured, but wanted to make sure I was not missing the obvious.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,815
    Blog Entries
    3

    Default Re: Increase history retention for root

    I should have made one more comment.

    If you really, really need to increase the history retention for root, then you are spending far too much time as root.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

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