Commit Graph
18 Commits
Author SHA1 Message Date
Jason HeeandBreakSecurity 7beaeed0cd Enables one to run setup without creating a new user by using a second non-root account (#15)
* Enable one to choose to use an existing second non-root account for configuring the server.

* Current user by def

* Changed default TimeZone and added a more secure ssh key derivation
method according to https://blog.peterruppel.de/ed25519-for-ssh/

* Refactor setup scripts

Co-authored-by: BreakSecurity <[email protected]>
2022-04-18 04:49:00 +08:00
Jason Hee 8c4f801e10 Install UFW if it's not installed (#13)
Resolves issue #10
2021-08-15 22:52:17 +08:00
Jason Hee 153087929c Remove the need for prompting the user for a password (#12)
Relates to issue #9
2021-08-15 21:47:26 +08:00
Jason Hee ce73240765 Use xenial for travis (#11)
* Use Ubuntu Xenial for Travis CI

* Fix CI tests

* Ensure NTP time is synced

https://askubuntu.com/a/1049810
2021-08-15 21:28:49 +08:00
Jason Hee d8eb1c23b9 Update scripts for Ubuntu 20.04 (#7)
* Modify time sync for 20.04

* Add Vagrantfile for 20.04

* Update documentation
2020-04-24 12:12:01 +08:00
Jason Hee 65eb29e4fe Modified execAsUser to use bash instead of Bourne shell 2016-12-07 18:28:55 +08:00
Jason Hee febdd604b5 Fixed bug with saving swap settings 2016-12-07 16:49:42 +08:00
Jason Hee 803b2ce2eb Fixes Issue #1 2016-12-07 16:09:19 +08:00
Jason Hee 1e31d3f823 Added prompting of server timezone
- User can now specify the timezone of the server rather than needing to set it via editing the bash script
2016-12-05 20:10:53 +08:00
Jason Hee 69b536300d Refactored code based on shellcheck 2016-12-05 15:28:09 +08:00
Jason Hee 0c80eb4811 Added setup cleanup functions 2016-12-01 13:00:35 +08:00
Jason Hee f759b39cd0 Added NTP configuration 2016-11-29 01:37:19 +08:00
Jason Hee a82bf4ff21 Added swap settings 2016-11-29 00:06:11 +08:00
Jason Hee 02e48fe201 Added function to add swap file 2016-11-28 02:09:14 +08:00
Jason Hee 9ef673594e Added sshd_config modifications 2016-11-27 23:36:01 +08:00
Jason Hee 2779c7f3ee Added test for adding of SSH key 2016-11-25 01:16:33 +08:00
Jason Hee 841312963c Added functionality to add ssh key 2016-11-24 01:26:46 +08:00
Jason Hee 003357b848 Initial Commit 2016-11-24 00:05:36 +08:00