Skip to content

Commit

Permalink
pam/nativemodel: Improve wording and consistency of strings
Browse files Browse the repository at this point in the history
Use the same terminology and similar behavior of the CLI mode
  • Loading branch information
3v1n0 committed Oct 22, 2024
1 parent 2ff47eb commit 07cc197
Show file tree
Hide file tree
Showing 41 changed files with 5,473 additions and 5,478 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Username:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker:
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider:



Expand Down Expand Up @@ -66,10 +66,10 @@ Select broker:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:

Expand Down Expand Up @@ -99,16 +99,16 @@ Gimme your password:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action:
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action:



Expand All @@ -132,18 +132,18 @@ Select action:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 1
Insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 1
Enter your new password (3 days until mandatory) (or type 'r' to go back):




Expand All @@ -165,20 +165,20 @@ Enter your new password (3 days until mandatory):
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 1
Insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
Repeat the previously inserted password or insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 1
Enter your new password (3 days until mandatory) (or type 'r' to go back):
Confirm password (or type 'r' to go back):





Expand All @@ -198,20 +198,18 @@ Enter your new password (3 days until mandatory):
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 1
Insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
Repeat the previously inserted password or insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 1
Enter your new password (3 days until mandatory) (or type 'r' to go back):
Confirm password (or type 'r' to go back):
PAM Authenticate() for user "user-can-reset2" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -228,23 +226,23 @@ PAM AcctMgmt() exited with success





────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 1
Insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
Repeat the previously inserted password or insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 1
Enter your new password (3 days until mandatory) (or type 'r' to go back):
Confirm password (or type 'r' to go back):
PAM Authenticate() for user "user-can-reset2" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -261,23 +259,23 @@ PAM AcctMgmt() exited with success





────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 1
Insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
Repeat the previously inserted password or insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 1
Enter your new password (3 days until mandatory) (or type 'r' to go back):
Confirm password (or type 'r' to go back):
PAM Authenticate() for user "user-can-reset2" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -294,4 +292,6 @@ PAM AcctMgmt() exited with success





────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ Username: user-local-groups
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-local-groups
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker:
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider:



Expand Down Expand Up @@ -99,10 +99,10 @@ Select broker:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-local-groups
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:

Expand Down Expand Up @@ -132,10 +132,10 @@ Gimme your password:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-local-groups
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
PAM Authenticate() for user "user-local-groups" exited with success
Expand Down Expand Up @@ -165,10 +165,10 @@ PAM AcctMgmt() exited with success
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-local-groups
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
PAM Authenticate() for user "user-local-groups" exited with success
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Username:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker:
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider:



Expand Down Expand Up @@ -66,10 +66,10 @@ Select broker:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:

Expand Down Expand Up @@ -99,16 +99,16 @@ Gimme your password:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action:
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action:



Expand All @@ -132,16 +132,16 @@ Select action:
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 2
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 2
PAM Authenticate() for user "user-can-reset" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -165,16 +165,16 @@ PAM AcctMgmt() exited with success
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true
Username: user-can-reset
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (type 'r' to go back) ==
1. local
2. ExampleBroker
Choose your provider: 2
Insert 'r' to cancel the request and go back
Gimme your password:
== Password Update (use 'r' to go back) ==
1 - Proceed with password update
2 - Skip
Select action: 2
== Password Update (type 'r' to go back) ==
1. Proceed with password update
2. Skip
Choose action: 2
PAM Authenticate() for user "user-can-reset" exited with success
PAM AcctMgmt() exited with success
>
Expand Down
Loading

0 comments on commit 07cc197

Please sign in to comment.