Skip to content

Commit

Permalink
Refactor and simplify test scenario scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusburghardt committed Jul 27, 2023
1 parent c0de3ee commit 5eafed2
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 9 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash

source common.sh

echo "SHA_CRYPT_MIN_ROUNDS 5000" > "/etc/login.defs"
echo "SHA_CRYPT_MAX_ROUNDS 5000" >> "/etc/login.defs"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Default values are 5000 if the parameters are not defined.
echo "SHA_CRYPT_MIN_ROUNDS 5000" > "/etc/login.defs"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Default values are 5000 if the parameters are not defined.
echo "SHA_CRYPT_MAX_ROUNDS 5000" > "/etc/login.defs"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Default values are 5000 if the parameters are not defined.
truncate -s 0 "/etc/login.defs"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

echo "SHA_CRYPT_MIN_ROUNDS 5000" > "/etc/login.defs"
echo "SHA_CRYPT_MAX_ROUNDS 4999" >> "/etc/login.defs"
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash

source common.sh

echo "SHA_CRYPT_MIN_ROUNDS 4999" > "/etc/login.defs"
echo "SHA_CRYPT_MAX_ROUNDS 5000" >> "/etc/login.defs"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

echo "SHA_CRYPT_MIN_ROUNDS 4999" > "/etc/login.defs"
echo "SHA_CRYPT_MAX_ROUNDS 4999" >> "/etc/login.defs"

0 comments on commit 5eafed2

Please sign in to comment.