Linux Magazine #2 2022: Tekstbestanden vergelijken
- April 28, 2022
- 0
diff listing:
$ diff config.new config.old 34c34 < #PermitRootLogin prohibit-password --- > PermitRootLogin no 58c58 < #PasswordAuthentication yes --- > PasswordAuthentication no één regel context:
$ diff -u1 config.new config.old --- config.new 2022-04-09 14:00:24.342783635 +0200 +++ config.old 2022-04-09 14:01:02.748056971 +0200 @@ -33,3 +33,3 @@ #LoginGraceTime 2m -#PermitRootLogin prohibit-password +PermitRootLogin no #StrictModes yes @@ -57,3 +57,3 @@ # To disable tunneled clear text passwords, change to no here! -#PasswordAuthentication yes +PasswordAuthentication no #PermitEmptyPasswords no