Giter VIP home page Giter VIP logo

security-scripts's People

Contributors

allonhadaya avatar robotdan avatar voidmain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

security-scripts's Issues

Finding a good home for backups

The backup script in template/ubuntu-16.04/backup.sh uses /tmp/backups as the destination of backup files (as well as intermediate files).

BACKUP_DIR=/tmp/backups

On some distros /tmp is cleared either on boot or by regular cron jobs: http://serverfault.com/questions/377348/when-does-tmp-get-cleared

On other systems /tmp is backed by RAM and may be lost on crashes.

This is not the default behaviour on Ubuntu, but should a different directory be chosen in case this script is used on a distro that does clear tmp OR if a user happens to configure their Ubuntu server to clear tmp?

Perhaps this is actually a philosophical point: backups are not temporary by definition. They are persistent (at least for the duration of the retention policy).

How about /root/backups? Is there an even better option? Is /tmp actually the right place; why?

I'm curious to hear your thoughts!

adding sha512 rounds to pam

the default number of rounds is 5000. Increasing this number adds to the time it would take to brute-force or find a collision, while adding very little time to user login time. The chance of finding a collision is very low but this is an easy step to reduce it even more.

password    [success=1 default=ignore]  pam_unix.so obscure try_first_pass sha512 rounds=200000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.