[NTLUG:Discuss] Linux preferred configurations

Leroy Tennison leroy.tennison at verizon.net
Wed Sep 20 22:19:25 CDT 2017


This is intended to be an open-ended and hopefully educational question, 
what kinds of configurations do you prefer for convenience, flexibility, 
capability, security, etc?  To give you an idea of what I'm thinking 
about, these are the things I have thought of and found solutions for:

    Add HISTTIMEFORMAT to /etc/skel/.bashrc and any already-created
    users to timestamp history

    Change the SHELL in /etc/default/useradd to /bin/bash (in case it's
    something lame like dash)

    Add the following to .bashrc: export PROMPT_COMMAND="history
    -a;history -r".  This causes the history of multiple sessions using
    the same id (such as sudo to root) to be kept almost current for
    each session.

    Create ~/.digrc containing: +search (so that all configuered domain
    suffixes on the system will be tried).

I'm sure I'm missing a bunch but "I don't konw what I don't know" which 
is why I'm asking.



More information about the Discuss mailing list