Commit Graph

21 Commits

Author SHA1 Message Date
Pratik
914ac35cb2 Script
- Logs updated
- root password change made possible from non-root user

Readme
- Added Screenshots
- Added FAQ section with - Non-Idempotency explained, rerun consequences expained, Listed all files that script edits and creates, Explained how to execute as non-root user
- Examples refined
- Informed that no software is even uninstalled
-
2019-02-13 22:57:10 +05:30
Pratik
f96590a3d4 Usage display text alignments 2019-02-13 07:11:05 +05:30
Pratik
76d3724af2 Added exit-code to file log
Updated read me for -hide flag
2019-02-13 07:07:21 +05:30
Pratik
70be73c547 Refactoring 2019-02-12 22:52:50 +05:30
Pratik
14154db5dc Added option (-hide) to hide credentials from screen 2019-02-11 22:13:58 +05:30
Pratik
31809f35ee Added new "Step 9" - Scheduling daily update download 2019-02-11 21:18:25 +05:30
Pratik
6a6f466123 Removed the test cases from README 2019-02-11 07:05:10 +05:30
Pratik
f061a12abc Updated Bug fix status 2019-02-11 06:55:32 +05:30
Pratik
abe16c5943 Readme file changes
- Beta testing
- Flag all dev-testings to be completed
- Add bugs
- Add Roadmaps

Script
- Bumped the version to 0.9
- Aligned the logfile name with the name of the script
- Restore Operation - Adopted the set_op_code method for determining  successes
- Restore Operations - took the remove-immutable flag code to revert_secure_authorized_key function
- Restore Operation - removed redundant operations from revert_secure_authorized_key method - as script is never goes into an existing user's .ssh folder - so no need to care for existing files
- Restore Operation - Call revert ssh key AFTER immutable file restoration has completed
- reset_op_code after all restore function & in the beginning of error segment of each step
- Bugfix - revert source list changes
- Bugfix - restore fail2ban
- Step 2 - removed checks for existing file - we never operate on existing users - so this is an useless check
- File Log - since we do not check if the last operation's success before writing to logfile - changed the tense to -ing
- Step 4 - added more file logs
- Step 6 & 7 - Instead of checking if installation succeess - check if ufw/fail2ban is installed before processing
- Step 7 - added more file logs
- Step 8 - added more file logs
2019-02-11 06:48:36 +05:30
Pratik
979e1b0657 Read me Changes
- Display all available options
- Some Typos rectified
- Updated the "Roadmap"

Script Changes
- Reliable method of determining if a service command was completed successfully
- More (and reliable) logs to the logfile
- Bugfix - SSH Reverting
- Revert source list - check success on sub-folder file restores
- Logfile - removed multiple revert success notifications
- Revert Fail2ban - Stopped deleting the jail.conf*_bkp files
- Step 4 - Default source-list - check success flag on commenting out existing source.list & on appending new CNS to sources.list (check the same 2 for *.list in sub-folders)
- Step 7 - fail2ban - check operation success on backing up jail.local, jail.conf & defaults-debian.conf files
2019-02-11 00:52:34 +05:30
Pratik
349cde603d Updated TODO items 2019-01-31 13:05:43 +05:30
Pratik
7282d1f55b Added test cases to README 2019-01-31 12:30:14 +05:30
Pratik
7bcc774313 Just some icandy 2019-01-29 13:56:54 +05:30
Pratik
edcfae7fe8 Aligned to project rename 2019-01-29 12:40:15 +05:30
Pratik
292fd6daf9 Update 2019-01-29 12:09:03 +05:30
Pratik
42c0aaf04d Updates 2019-01-29 12:06:10 +05:30
Pratik
3846881f29 Updates 2019-01-29 11:55:33 +05:30
Pratik
74268c6693 Updated Readme 2019-01-29 11:43:31 +05:30
Pratik
fea4c400c7 Removed operations from revert_create_ssh_key
Revert UFW & Fail2Ban on SSH-only failure
2019-01-28 14:54:36 +05:30
Pratik
34e63c688e Mistakes in readme rectified 2019-01-25 05:45:53 +05:30
Pratik
ce8284695a Added the readme file 2019-01-25 05:42:49 +05:30