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 18, 2024
1 parent 2ff47eb commit 4c3c4f7
Show file tree
Hide file tree
Showing 41 changed files with 4,812 additions and 4,813 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 (use '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 (use '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 (use '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. 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-reset2
== Broker selection (use 'r' to go back) ==
1 - local
2 - ExampleBroker
Select broker: 2
== Provider selection (use '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
1. Proceed with password update
2. Skip
Choose action: 1
Insert 'r' to cancel the request and go back
Enter your new password (3 days until mandatory):

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 (use '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
1. Proceed with password update
2. Skip
Choose 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):
Confirm password or insert 'r' to go back:




Expand All @@ -198,20 +198,19 @@ 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 (use '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
1. Proceed with password update
2. Skip
Choose 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):
Confirm password or insert 'r' to go back:
PAM Authenticate() for user "user-can-reset2" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -228,23 +227,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 (use '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
1. Proceed with password update
2. Skip
Choose 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):
Confirm password or insert 'r' to go back:
PAM Authenticate() for user "user-can-reset2" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -261,23 +260,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 (use '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
1. Proceed with password update
2. Skip
Choose 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):
Confirm password or insert 'r' to go back:
PAM Authenticate() for user "user-can-reset2" exited with success
PAM AcctMgmt() exited with success
>
Expand All @@ -294,4 +293,5 @@ 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 (use '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 (use '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 (use '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 (use '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 (use '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 (use '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 (use '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. 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 (use '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
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 (use '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
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 4c3c4f7

Please sign in to comment.