diff --git a/internal/services/pam/testdata/TestIDGeneration/golden/generate_id/cache.db b/internal/services/pam/testdata/TestIDGeneration/golden/generate_id/cache.db index 2afad79a3..37d3fbd1b 100644 --- a/internal/services/pam/testdata/TestIDGeneration/golden/generate_id/cache.db +++ b/internal/services/pam/testdata/TestIDGeneration/golden/generate_id/cache.db @@ -14,3 +14,5 @@ UserByName: UserToBroker: {} UserToGroups: "1648262143": '{"UID":1648262143,"GIDs":[1648262143,1946747284]}' +UserToLocalGroups: + "1648262143": "null" diff --git a/internal/services/pam/testdata/TestIDGeneration/golden/generates_same_id_if_user_has_upper_cases_in_username/cache.db b/internal/services/pam/testdata/TestIDGeneration/golden/generates_same_id_if_user_has_upper_cases_in_username/cache.db index 30024c5bf..28a360da1 100644 --- a/internal/services/pam/testdata/TestIDGeneration/golden/generates_same_id_if_user_has_upper_cases_in_username/cache.db +++ b/internal/services/pam/testdata/TestIDGeneration/golden/generates_same_id_if_user_has_upper_cases_in_username/cache.db @@ -14,3 +14,5 @@ UserByName: UserToBroker: {} UserToGroups: "1648262143": '{"UID":1648262143,"GIDs":[1648262143,1946747284]}' +UserToLocalGroups: + "1648262143": "null" diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/denies_authentication_when_broker_times_out/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/denies_authentication_when_broker_times_out/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/denies_authentication_when_broker_times_out/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/denies_authentication_when_broker_times_out/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_empty_data_even_if_granted/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_empty_data_even_if_granted/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_empty_data_even_if_granted/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_empty_data_even_if_granted/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_updating_local_groups_with_unexisting_file/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_updating_local_groups_with_unexisting_file/cache.db index 0f4b4f51b..5713c357b 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_updating_local_groups_with_unexisting_file/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_on_updating_local_groups_with_unexisting_file/cache.db @@ -5,3 +5,5 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: + "1042855937": '["localgroup1","localgroup3"]' diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_authenticating/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_authenticating/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_authenticating/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_authenticating/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_access/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_access/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_access/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_access/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_data/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_data/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_data/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_data/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_userinfo/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_userinfo/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_userinfo/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_broker_returns_invalid_userinfo/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_calling_second_time_without_cancelling/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_calling_second_time_without_cancelling/cache.db index 06e8834bf..fb276a37d 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_calling_second_time_without_cancelling/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_calling_second_time_without_cancelling/cache.db @@ -14,3 +14,5 @@ UserByName: UserToBroker: {} UserToGroups: "1556535091": '{"UID":1556535091,"GIDs":[1556535091,1369382419]}' +UserToLocalGroups: + "1556535091": "null" diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_gid_conflicts_with_existing_different_group/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_gid_conflicts_with_existing_different_group/cache.db index 719438dc0..7b0c8c9d2 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_gid_conflicts_with_existing_different_group/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_gid_conflicts_with_existing_different_group/cache.db @@ -14,3 +14,4 @@ UserByName: UserToBroker: {} UserToGroups: "71705": '{"UID":71705,"GIDs":[71705,1795458232]}' +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_not_root/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_not_root/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_not_root/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_not_root/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_sessionid_is_empty/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_sessionid_is_empty/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_sessionid_is_empty/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_sessionid_is_empty/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_there_is_no_broker/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_there_is_no_broker/cache.db index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_there_is_no_broker/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_there_is_no_broker/cache.db @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_uid_conflicts_with_existing_different_user/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_uid_conflicts_with_existing_different_user/cache.db index 0546fbd38..1aeae5795 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_uid_conflicts_with_existing_different_user/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/error_when_uid_conflicts_with_existing_different_user/cache.db @@ -14,3 +14,4 @@ UserByName: UserToBroker: {} UserToGroups: "1797931382": '{"UID":1797931382,"GIDs":[1797931382,1840530284]}' +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate/cache.db index 217514afb..4f9b9e44c 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate/cache.db @@ -14,3 +14,5 @@ UserByName: UserToBroker: {} UserToGroups: "1127066031": '{"UID":1127066031,"GIDs":[1127066031,1946747284]}' +UserToLocalGroups: + "1127066031": "null" diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate_if_first_call_is_canceled/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate_if_first_call_is_canceled/cache.db index cab9099f5..2522a9776 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate_if_first_call_is_canceled/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/successfully_authenticate_if_first_call_is_canceled/cache.db @@ -14,3 +14,5 @@ UserByName: UserToBroker: {} UserToGroups: "1569396774": '{"UID":1569396774,"GIDs":[1569396774,1369382419]}' +UserToLocalGroups: + "1569396774": "null" diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/update_existing_db_on_success/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/update_existing_db_on_success/cache.db index 450a3361b..5dc6abac1 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/update_existing_db_on_success/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/update_existing_db_on_success/cache.db @@ -18,3 +18,5 @@ UserToBroker: UserToGroups: "77777": '{"UID":77777,"GIDs":[88888]}' "1714308795": '{"UID":1714308795,"GIDs":[1714308795,88888]}' +UserToLocalGroups: + "1714308795": "null" diff --git a/internal/services/pam/testdata/TestIsAuthenticated/golden/update_local_groups/cache.db b/internal/services/pam/testdata/TestIsAuthenticated/golden/update_local_groups/cache.db index e42e86153..de8c950b7 100644 --- a/internal/services/pam/testdata/TestIsAuthenticated/golden/update_local_groups/cache.db +++ b/internal/services/pam/testdata/TestIsAuthenticated/golden/update_local_groups/cache.db @@ -14,3 +14,5 @@ UserByName: UserToBroker: {} UserToGroups: "1370830640": '{"UID":1370830640,"GIDs":[1370830640,1602050681]}' +UserToLocalGroups: + "1370830640": '["localgroup1","localgroup3"]' diff --git a/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_missing_optional_value b/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_missing_optional_value index 1e3821e55..442e7a6cd 100644 --- a/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_missing_optional_value +++ b/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_missing_optional_value @@ -5,3 +5,4 @@ wait: "" entry: "" content: "" code: "" +rendersqrcode: null diff --git a/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_required_value b/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_required_value index 8f6ceffb0..d37ed9d6d 100644 --- a/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_required_value +++ b/internal/services/pam/testdata/TestSelectAuthenticationMode/golden/successfully_select_mode_with_required_value @@ -5,3 +5,4 @@ wait: "" entry: entry_type content: "" code: "" +rendersqrcode: null diff --git a/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/set_default_broker_for_existing_user_with_no_broker/cache.db b/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/set_default_broker_for_existing_user_with_no_broker/cache.db index a10db9c94..6ce6f508c 100644 --- a/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/set_default_broker_for_existing_user_with_no_broker/cache.db +++ b/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/set_default_broker_for_existing_user_with_no_broker/cache.db @@ -42,3 +42,4 @@ UserToGroups: "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444,99999]}' "5555": '{"UID":5555,"GIDs":[55555,99999]}' +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/setting_local_broker_as_default_should_not_save_on_db/cache.db b/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/setting_local_broker_as_default_should_not_save_on_db/cache.db index 302323b4c..989804fdd 100644 --- a/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/setting_local_broker_as_default_should_not_save_on_db/cache.db +++ b/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/setting_local_broker_as_default_should_not_save_on_db/cache.db @@ -41,3 +41,4 @@ UserToGroups: "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444,99999]}' "5555": '{"UID":5555,"GIDs":[55555,99999]}' +UserToLocalGroups: {} diff --git a/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/update_default_broker_for_existing_user_with_a_broker/cache.db b/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/update_default_broker_for_existing_user_with_a_broker/cache.db index 9ad7070d1..ef89713e3 100644 --- a/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/update_default_broker_for_existing_user_with_a_broker/cache.db +++ b/internal/services/pam/testdata/TestSetDefaultBrokerForUser/golden/update_default_broker_for_existing_user_with_a_broker/cache.db @@ -41,3 +41,4 @@ UserToGroups: "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444,99999]}' "5555": '{"UID":5555,"GIDs":[55555,99999]}' +UserToLocalGroups: {} diff --git a/internal/sliceutils/sliceutils.go b/internal/sliceutils/sliceutils.go new file mode 100644 index 000000000..2276e959e --- /dev/null +++ b/internal/sliceutils/sliceutils.go @@ -0,0 +1,34 @@ +// Package sliceutils provides utility functions for slices. +package sliceutils + +// Difference returns a slice with the elements that are in a but not in b. +func Difference[T comparable](a, b []T) []T { + setB := make(map[T]struct{}, len(b)) + for _, item := range b { + setB[item] = struct{}{} + } + + var diff []T + for _, item := range a { + if _, found := setB[item]; !found { + diff = append(diff, item) + } + } + return diff +} + +// Intersection returns a slice with the elements that are in both a and b. +func Intersection[T comparable](a, b []T) []T { + setB := make(map[T]struct{}, len(b)) + for _, item := range b { + setB[item] = struct{}{} + } + + var intersection []T + for _, item := range a { + if _, found := setB[item]; found { + intersection = append(intersection, item) + } + } + return intersection +} diff --git a/internal/sliceutils/sliceutils_test.go b/internal/sliceutils/sliceutils_test.go new file mode 100644 index 000000000..d6e50d205 --- /dev/null +++ b/internal/sliceutils/sliceutils_test.go @@ -0,0 +1,84 @@ +package sliceutils_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + "github.com/ubuntu/authd/internal/sliceutils" +) + +func TestDifference(t *testing.T) { + t.Parallel() + + tests := map[string]struct { + a, b, want []int + }{ + "test difference between two slices": { + a: []int{1, 2, 3, 4, 5}, + b: []int{3, 4, 5, 6, 7}, + want: []int{1, 2}, + }, + "test difference between an empty slice and a non-empty slice": { + a: []int{}, + b: []int{3, 4, 5, 6, 7}, + want: []int(nil), + }, + "test difference between a non-empty slice and an empty slice": { + a: []int{1, 2, 3, 4, 5}, + b: []int{}, + want: []int{1, 2, 3, 4, 5}, + }, + "test difference between two empty slices": { + a: []int{}, + b: []int{}, + want: []int(nil), + }, + } + + for name, tc := range tests { + t.Run(name, func(t *testing.T) { + t.Parallel() + + got := sliceutils.Difference(tc.a, tc.b) + require.Equal(t, tc.want, got) + }) + } +} + +func TestIntersection(t *testing.T) { + t.Parallel() + + tests := map[string]struct { + a, b, want []int + }{ + "test intersection between two slices": { + a: []int{1, 2, 3, 4, 5}, + b: []int{3, 4, 5, 6, 7}, + want: []int{3, 4, 5}, + }, + "test intersection between an empty slice and a non-empty slice": { + a: []int{}, + b: []int{3, 4, 5, 6, 7}, + want: []int(nil), + }, + "test intersection between a non-empty slice and an empty slice": { + a: []int{1, 2, 3, 4, 5}, + b: []int{}, + want: []int(nil), + }, + "test intersection between two empty slices": { + a: []int{}, + b: []int{}, + want: []int(nil), + }, + } + + for name, tc := range tests { + t.Run(name, func(t *testing.T) { + t.Parallel() + + got := sliceutils.Intersection(tc.a, tc.b) + require.Equal(t, tc.want, got) + }) + } +} diff --git a/internal/users/cache/db.go b/internal/users/cache/db.go index 5ec590e68..7801b53c6 100644 --- a/internal/users/cache/db.go +++ b/internal/users/cache/db.go @@ -19,13 +19,14 @@ var ( ) const ( - userByNameBucketName = "UserByName" - userByIDBucketName = "UserByID" - groupByNameBucketName = "GroupByName" - groupByIDBucketName = "GroupByID" - userToGroupsBucketName = "UserToGroups" - groupToUsersBucketName = "GroupToUsers" - userToBrokerBucketName = "UserToBroker" + userByNameBucketName = "UserByName" + userByIDBucketName = "UserByID" + groupByNameBucketName = "GroupByName" + groupByIDBucketName = "GroupByID" + userToGroupsBucketName = "UserToGroups" + groupToUsersBucketName = "GroupToUsers" + userToBrokerBucketName = "UserToBroker" + userToLocalGroupsBucketName = "UserToLocalGroups" ) var ( @@ -33,7 +34,7 @@ var ( []byte(userByNameBucketName), []byte(userByIDBucketName), []byte(groupByNameBucketName), []byte(groupByIDBucketName), []byte(userToGroupsBucketName), []byte(groupToUsersBucketName), - []byte(userToBrokerBucketName), + []byte(userToBrokerBucketName), []byte(userToLocalGroupsBucketName), } ) diff --git a/internal/users/cache/db_test.go b/internal/users/cache/db_test.go index a64d9bc63..de9c1b696 100644 --- a/internal/users/cache/db_test.go +++ b/internal/users/cache/db_test.go @@ -156,9 +156,10 @@ func TestUpdateUserEntry(t *testing.T) { } tests := map[string]struct { - userCase string - groupCases []string - dbFile string + userCase string + groupCases []string + localGroups []string + dbFile string wantErr bool }{ @@ -176,6 +177,7 @@ func TestUpdateUserEntry(t *testing.T) { "Update user by adding a new group": {groupCases: []string{"group1", "group2"}, dbFile: "one_user_and_group"}, "Update user by adding a new default group": {groupCases: []string{"group2", "group1"}, dbFile: "one_user_and_group"}, "Remove group from user": {groupCases: []string{"group2"}, dbFile: "one_user_and_group"}, + "Update user by adding a new local group": {localGroups: []string{"localgroup1"}, dbFile: "one_user_and_group"}, // Multi users handling "Update only user even if we have multiple of them": {dbFile: "multiple_users_and_groups"}, @@ -219,7 +221,7 @@ func TestUpdateUserEntry(t *testing.T) { } user.GID = groups[0].GID - err := c.UpdateUserEntry(user, groups) + err := c.UpdateUserEntry(user, groups, tc.localGroups) if tc.wantErr { require.Error(t, err, "UpdateFromUserInfo should return an error but didn't") return diff --git a/internal/users/cache/delete.go b/internal/users/cache/delete.go index 161a21748..8fd4e714c 100644 --- a/internal/users/cache/delete.go +++ b/internal/users/cache/delete.go @@ -34,6 +34,7 @@ func (c *Cache) DeleteUser(uid uint32) error { // deleteUserFromGroup removes the uid from the group. // If the group is empty after the uid gets removed, the group is deleted from the database. func deleteUserFromGroup(buckets map[string]bucketWithName, uid, gid uint32) error { + log.Debugf(context.TODO(), "Removing user %d from group %d", uid, gid) groupToUsers, err := getFromBucket[groupToUsersDB](buckets[groupToUsersBucketName], gid) if err != nil && !errors.Is(err, NoDataFoundError{}) { return err diff --git a/internal/users/cache/getgroups.go b/internal/users/cache/getgroups.go index eaed3fd17..87da23203 100644 --- a/internal/users/cache/getgroups.go +++ b/internal/users/cache/getgroups.go @@ -31,6 +31,74 @@ func (c *Cache) GroupByName(name string) (GroupDB, error) { return getGroup(c, groupByNameBucketName, name) } +// UserGroups returns all groups for a given user or an error if the database is corrupted or no entry was found. +func (c *Cache) UserGroups(uid uint32) ([]GroupDB, error) { + c.mu.RLock() + defer c.mu.RUnlock() + var groups []GroupDB + err := c.db.View(func(tx *bbolt.Tx) error { + buckets, err := getAllBuckets(tx) + if err != nil { + return err + } + + // Get group ids for the user. + groupsForUser, err := getFromBucket[userToGroupsDB](buckets[userToGroupsBucketName], uid) + if err != nil { + return err + } + + for _, gid := range groupsForUser.GIDs { + // we should always get an entry + g, err := getFromBucket[groupDB](buckets[groupByIDBucketName], gid) + if err != nil { + return err + } + + // Get user names in the group. + users, err := getUsersInGroup(buckets, gid) + if err != nil { + return err + } + + groups = append(groups, NewGroupDB(g.Name, g.GID, users)) + } + return nil + }) + + if err != nil { + return nil, err + } + + return groups, nil +} + +// UserLocalGroups returns all local groups for a given user or an error if the database is corrupted or no entry was found. +func (c *Cache) UserLocalGroups(uid uint32) ([]string, error) { + c.mu.RLock() + defer c.mu.RUnlock() + var localGroups []string + err := c.db.View(func(tx *bbolt.Tx) error { + buckets, err := getAllBuckets(tx) + if err != nil { + return err + } + + localGroups, err = getFromBucket[[]string](buckets[userToLocalGroupsBucketName], uid) + if err != nil { + return err + } + + return nil + }) + + if err != nil { + return nil, err + } + + return localGroups, nil +} + // AllGroups returns all groups or an error if the database is corrupted. func (c *Cache) AllGroups() (all []GroupDB, err error) { c.mu.RLock() diff --git a/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user b/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user +++ b/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user_keeping_other_users_intact b/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user_keeping_other_users_intact index 0c1996e7e..0f085b605 100644 --- a/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user_keeping_other_users_intact +++ b/internal/users/cache/testdata/TestDeleteUser/golden/delete_existing_user_keeping_other_users_intact @@ -28,3 +28,4 @@ UserToGroups: "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' +UserToLocalGroups: {} diff --git a/internal/users/cache/testdata/TestNew/golden/new_recreates_any_missing_buckets_and_delete_unknowns b/internal/users/cache/testdata/TestNew/golden/new_recreates_any_missing_buckets_and_delete_unknowns index 9eba84f32..d5abd7170 100644 --- a/internal/users/cache/testdata/TestNew/golden/new_recreates_any_missing_buckets_and_delete_unknowns +++ b/internal/users/cache/testdata/TestNew/golden/new_recreates_any_missing_buckets_and_delete_unknowns @@ -7,3 +7,4 @@ UserByName: user1: '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"AAAAATIME"}' UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/users/cache/testdata/TestNew/golden/new_removes_orphaned_user_records_from_userbyid_bucket b/internal/users/cache/testdata/TestNew/golden/new_removes_orphaned_user_records_from_userbyid_bucket index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/users/cache/testdata/TestNew/golden/new_removes_orphaned_user_records_from_userbyid_bucket +++ b/internal/users/cache/testdata/TestNew/golden/new_removes_orphaned_user_records_from_userbyid_bucket @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/users/cache/testdata/TestNew/golden/new_with_already_existing_database b/internal/users/cache/testdata/TestNew/golden/new_with_already_existing_database index f44565cd6..5db54ae19 100644 --- a/internal/users/cache/testdata/TestNew/golden/new_with_already_existing_database +++ b/internal/users/cache/testdata/TestNew/golden/new_with_already_existing_database @@ -35,3 +35,4 @@ UserToGroups: "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' +UserToLocalGroups: {} diff --git a/internal/users/cache/testdata/TestNew/golden/new_without_any_initialized_database b/internal/users/cache/testdata/TestNew/golden/new_without_any_initialized_database index 0f4b4f51b..ccfaf90fc 100644 --- a/internal/users/cache/testdata/TestNew/golden/new_without_any_initialized_database +++ b/internal/users/cache/testdata/TestNew/golden/new_without_any_initialized_database @@ -5,3 +5,4 @@ UserByID: {} UserByName: {} UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/add_user_to_group_from_another_user b/internal/users/cache/testdata/TestUpdateUserEntry/golden/add_user_to_group_from_another_user index 055fff3f4..ac18f463d 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/add_user_to_group_from_another_user +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/add_user_to_group_from_another_user @@ -35,3 +35,5 @@ UserToGroups: "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user b/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user index 65695498d..b89dd4fea 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user @@ -11,3 +11,5 @@ UserByName: UserToBroker: {} UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user_without_optional_gecos_field b/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user_without_optional_gecos_field index e387eccce..2b9d34a10 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user_without_optional_gecos_field +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/insert_new_user_without_optional_gecos_field @@ -11,3 +11,5 @@ UserByName: UserToBroker: {} UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entries_in_other_user_and_groups_don't_impact_current_request b/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entries_in_other_user_and_groups_don't_impact_current_request index 488223b19..c4ae701d8 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entries_in_other_user_and_groups_don't_impact_current_request +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entries_in_other_user_and_groups_don't_impact_current_request @@ -29,3 +29,5 @@ UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' "2222": '"not-a-valid-json"' "3333": '"not-a-valid-json"' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_groupbyname_recreates_entries b/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_groupbyname_recreates_entries index 8982e1874..79e3e1e76 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_groupbyname_recreates_entries +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_groupbyname_recreates_entries @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_userbyname_recreates_entries b/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_userbyname_recreates_entries index 8982e1874..79e3e1e76 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_userbyname_recreates_entries +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/invalid_value_entry_in_userbyname_recreates_entries @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_group_from_user b/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_group_from_user index 8d2d83820..bdd1ec95e 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_group_from_user +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_group_from_user @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[22222]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_user_from_a_group_still_part_from_another_user b/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_user_from_a_group_still_part_from_another_user index 6ba26b863..bd2df77d6 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_user_from_a_group_still_part_from_another_user +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/remove_user_from_a_group_still_part_from_another_user @@ -35,3 +35,5 @@ UserToGroups: "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333]}' "4444": '{"UID":4444,"GIDs":[44444]}' +UserToLocalGroups: + "3333": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_last_login_time_for_user b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_last_login_time_for_user index 8982e1874..79e3e1e76 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_last_login_time_for_user +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_last_login_time_for_user @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_only_user_even_if_we_have_multiple_of_them b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_only_user_even_if_we_have_multiple_of_them index 76b38639a..2e0da7ff9 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_only_user_even_if_we_have_multiple_of_them +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_only_user_even_if_we_have_multiple_of_them @@ -35,3 +35,5 @@ UserToGroups: "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_default_group b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_default_group index c583bda67..a4b75ec7c 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_default_group +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_default_group @@ -15,3 +15,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[22222,11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_group b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_group index c83825daa..a069ea262 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_group +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_group @@ -15,3 +15,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111,22222]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_local_group b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_local_group new file mode 100644 index 000000000..b8c6db25e --- /dev/null +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_adding_a_new_local_group @@ -0,0 +1,16 @@ +GroupByID: + "11111": '{"Name":"group1","GID":11111}' +GroupByName: + group1: '{"Name":"group1","GID":11111}' +GroupToUsers: + "11111": '{"GID":11111,"UIDs":[1111]}' +UserByID: + "1111": '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"ABCDETIME"}' +UserByName: + user1: '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"ABCDETIME"}' +UserToBroker: + "1111": '"broker-id"' +UserToGroups: + "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": '["localgroup1"]' diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_changing_attributes b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_changing_attributes index 07ed1d635..679a7de48 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_changing_attributes +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_changing_attributes @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_removing_optional_gecos_field_if_not_set b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_removing_optional_gecos_field_if_not_set index f922cd4ef..70bd90177 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_removing_optional_gecos_field_if_not_set +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_by_removing_optional_gecos_field_if_not_set @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_does_not_change_homedir_if_it_exists b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_does_not_change_homedir_if_it_exists index 8982e1874..79e3e1e76 100644 --- a/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_does_not_change_homedir_if_it_exists +++ b/internal/users/cache/testdata/TestUpdateUserEntry/golden/update_user_does_not_change_homedir_if_it_exists @@ -12,3 +12,5 @@ UserToBroker: "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[11111]}' +UserToLocalGroups: + "1111": "null" diff --git a/internal/users/cache/update.go b/internal/users/cache/update.go index 9abb49d7d..b3d1cf8f0 100644 --- a/internal/users/cache/update.go +++ b/internal/users/cache/update.go @@ -14,7 +14,7 @@ import ( ) // UpdateUserEntry inserts or updates user and group buckets from the user information. -func (c *Cache) UpdateUserEntry(usr UserDB, groupContents []GroupDB) error { +func (c *Cache) UpdateUserEntry(usr UserDB, authdGroups []GroupDB, localGroups []string) error { c.mu.RLock() defer c.mu.RUnlock() @@ -41,15 +41,18 @@ func (c *Cache) UpdateUserEntry(usr UserDB, groupContents []GroupDB) error { } /* 2. Handle groups update */ - if err := updateGroups(buckets, groupContents); err != nil { + if err := updateGroups(buckets, authdGroups); err != nil { return err } /* 3. Users and groups mapping buckets */ - if err := updateUsersAndGroups(buckets, userDB.UID, groupContents, previousGroupsForCurrentUser.GIDs); err != nil { + if err := updateUsersAndGroups(buckets, userDB.UID, authdGroups, previousGroupsForCurrentUser.GIDs); err != nil { return err } + /* 4. Update user to local groups bucket */ + updateBucket(buckets[userToLocalGroupsBucketName], userDB.UID, localGroups) + return nil }) diff --git a/internal/users/localgroups/localgroups.go b/internal/users/localgroups/localgroups.go index 16b4d2a8e..f9e9b5aee 100644 --- a/internal/users/localgroups/localgroups.go +++ b/internal/users/localgroups/localgroups.go @@ -13,6 +13,7 @@ import ( "sync" "github.com/ubuntu/authd/internal/log" + "github.com/ubuntu/authd/internal/sliceutils" "github.com/ubuntu/decorate" ) @@ -34,7 +35,8 @@ type Option func(*options) var localGroupsMu = &sync.RWMutex{} // Update synchronizes for the given user the local group list with the current group list from UserInfo. -func Update(username string, groups []string, args ...Option) (err error) { +func Update(username string, newGroups []string, oldGroups []string, args ...Option) (err error) { + log.Debugf(context.TODO(), "Updating local groups for user %q, new groups: %v, old groups: %v", username, newGroups, oldGroups) defer decorate.OnError(&err, "could not update local groups for user %q", username) opts := defaultOptions @@ -42,14 +44,19 @@ func Update(username string, groups []string, args ...Option) (err error) { arg(&opts) } - currentLocalGroups, err := existingLocalGroups(username, opts.groupPath) + currentGroups, err := existingLocalGroups(username, opts.groupPath) if err != nil { return err } localGroupsMu.Lock() defer localGroupsMu.Unlock() - groupsToAdd, groupsToRemove := computeGroupOperation(groups, currentLocalGroups) + groupsToAdd := sliceutils.Difference(newGroups, currentGroups) + log.Debugf(context.TODO(), "Adding to groups: %v", groupsToAdd) + groupsToRemove := sliceutils.Difference(oldGroups, newGroups) + // Only remove user from groups which they are part of + groupsToRemove = sliceutils.Intersection(groupsToRemove, currentGroups) + log.Debugf(context.TODO(), "Removing from groups: %v", groupsToRemove) for _, g := range groupsToRemove { args := opts.gpasswdCmd[1:] @@ -110,38 +117,6 @@ func existingLocalGroups(user, groupPath string) (groups []string, err error) { return groups, nil } -// computeGroupOperation returns which local groups to add and which to remove comparing with the existing group state. -// Only local groups (with no GID) are considered from GroupInfo. -func computeGroupOperation(newGroupsInfo []string, currentLocalGroups []string) (groupsToAdd []string, groupsToRemove []string) { - newGroups := make(map[string]struct{}) - for _, grp := range newGroupsInfo { - newGroups[grp] = struct{}{} - } - - currGroups := make(map[string]struct{}) - for _, g := range currentLocalGroups { - currGroups[g] = struct{}{} - } - - for g := range newGroups { - // already in current group file - if _, ok := currGroups[g]; ok { - continue - } - groupsToAdd = append(groupsToAdd, g) - } - - for g := range currGroups { - // was in that group but not anymore - if _, ok := newGroups[g]; ok { - continue - } - groupsToRemove = append(groupsToRemove, g) - } - - return groupsToAdd, groupsToRemove -} - // CleanUser removes the user from all local groups. func CleanUser(user string, args ...Option) (err error) { defer decorate.OnError(&err, "could not clean user %q from local groups", user) diff --git a/internal/users/localgroups/localgroups_test.go b/internal/users/localgroups/localgroups_test.go index 47d6026c1..1ade34eca 100644 --- a/internal/users/localgroups/localgroups_test.go +++ b/internal/users/localgroups/localgroups_test.go @@ -17,7 +17,8 @@ func TestUpdateLocalGroups(t *testing.T) { tests := map[string]struct { username string - groups []string + newGroups []string + oldGroups []string groupFilePath string wantErr bool @@ -28,7 +29,7 @@ func TestUpdateLocalGroups(t *testing.T) { "Insert new user in existing files with other users in our group": {groupFilePath: "users_in_our_groups.group"}, "Insert new user in existing files with multiple other users in our group": {groupFilePath: "multiple_users_in_our_groups.group"}, - // Users in existing groups + // User already in groups "No-Op for user is already present in both local groups": {groupFilePath: "user_in_both_groups.group"}, "Insert user in the only local group when not present": {groupFilePath: "user_in_one_group.group"}, "Insert user in the only local group when not present even with multiple": {groupFilePath: "user_and_others_in_one_groups.group"}, @@ -40,9 +41,14 @@ func TestUpdateLocalGroups(t *testing.T) { "Missing group is ignored": {groupFilePath: "missing_group.group"}, "Group file with empty line is ignored": {groupFilePath: "empty_line.group"}, - // No group - "No-Op for user with no groups and was in none": {groups: []string{}, groupFilePath: "no_users_in_our_groups.group"}, - "Remove user with no groups from existing ones": {groups: []string{}, groupFilePath: "user_in_both_groups.group"}, + // No new groups + "No-Op for user with no groups and was in none": {newGroups: []string{}, groupFilePath: "no_users_in_our_groups.group"}, + "Remove user with no groups from existing ones": {newGroups: []string{}, groupFilePath: "user_in_both_groups.group"}, + + // User removed from groups + "User is added to group they were added to before": {newGroups: []string{"localgroup1"}, oldGroups: []string{"localgroup1"}, groupFilePath: "no_users.group"}, + "User is removed from old groups but not from other groups": {newGroups: []string{}, oldGroups: []string{"localgroup3"}, groupFilePath: "user_in_both_groups.group"}, + "User is not removed from groups they are not part of": {newGroups: []string{}, oldGroups: []string{"localgroup2"}, groupFilePath: "user_in_one_group.group"}, // Error cases "Error on missing groups file": {groupFilePath: "does_not_exists.group", wantErr: true}, @@ -54,8 +60,8 @@ func TestUpdateLocalGroups(t *testing.T) { t.Run(name, func(t *testing.T) { t.Parallel() - if tc.groups == nil { - tc.groups = []string{"localgroup1", "localgroup3"} + if tc.newGroups == nil { + tc.newGroups = []string{"localgroup1", "localgroup3"} } switch tc.username { @@ -73,7 +79,7 @@ func TestUpdateLocalGroups(t *testing.T) { groupFilePath, destCmdsFile, } - err := localgroups.Update(tc.username, tc.groups, localgroups.WithGroupPath(groupFilePath), localgroups.WithGpasswdCmd(cmdArgs)) + err := localgroups.Update(tc.username, tc.newGroups, tc.oldGroups, localgroups.WithGroupPath(groupFilePath), localgroups.WithGpasswdCmd(cmdArgs)) if tc.wantErr { require.Error(t, err, "UpdateLocalGroups should have failed") } else { diff --git a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/add_and_remove_user_from_multiple_groups,_one_remaining b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/add_and_remove_user_from_multiple_groups,_one_remaining index 9cd2b7ffc..80dd17cde 100644 --- a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/add_and_remove_user_from_multiple_groups,_one_remaining +++ b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/add_and_remove_user_from_multiple_groups,_one_remaining @@ -1,2 +1 @@ ---add myuser localgroup3 ---delete myuser localgroup2 \ No newline at end of file +--add myuser localgroup3 \ No newline at end of file diff --git a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_from_an_additional_group,_being_alone b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_from_an_additional_group,_being_alone deleted file mode 100644 index 2a4e6294d..000000000 --- a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_from_an_additional_group,_being_alone +++ /dev/null @@ -1 +0,0 @@ ---delete myuser localgroup2 \ No newline at end of file diff --git a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_from_an_additional_group,_multiple_users_in_group b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_from_an_additional_group,_multiple_users_in_group deleted file mode 100644 index 2a4e6294d..000000000 --- a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_from_an_additional_group,_multiple_users_in_group +++ /dev/null @@ -1 +0,0 @@ ---delete myuser localgroup2 \ No newline at end of file diff --git a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_with_no_groups_from_existing_ones b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_with_no_groups_from_existing_ones deleted file mode 100644 index c141759aa..000000000 --- a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/remove_user_with_no_groups_from_existing_ones +++ /dev/null @@ -1,2 +0,0 @@ ---delete myuser localgroup1 ---delete myuser localgroup3 \ No newline at end of file diff --git a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/user_is_added_to_group_they_were_added_to_before b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/user_is_added_to_group_they_were_added_to_before new file mode 100644 index 000000000..0dd812dc8 --- /dev/null +++ b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/user_is_added_to_group_they_were_added_to_before @@ -0,0 +1 @@ +--add myuser localgroup1 \ No newline at end of file diff --git a/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/user_is_removed_from_old_groups_but_not_from_other_groups b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/user_is_removed_from_old_groups_but_not_from_other_groups new file mode 100644 index 000000000..e49d0784f --- /dev/null +++ b/internal/users/localgroups/testdata/TestUpdateLocalGroups/golden/user_is_removed_from_old_groups_but_not_from_other_groups @@ -0,0 +1 @@ +--delete myuser localgroup3 \ No newline at end of file diff --git a/internal/users/manager.go b/internal/users/manager.go index 8ab87e6f2..d4cdefc24 100644 --- a/internal/users/manager.go +++ b/internal/users/manager.go @@ -124,7 +124,7 @@ func (m *Manager) UpdateUser(u UserInfo) (err error) { } } - var groupContents []cache.GroupDB + var authdGroups []cache.GroupDB var localGroups []string for _, g := range u.Groups { // Empty GID assume local group @@ -132,17 +132,22 @@ func (m *Manager) UpdateUser(u UserInfo) (err error) { localGroups = append(localGroups, g.Name) continue } - groupContents = append(groupContents, cache.NewGroupDB(g.Name, *g.GID, nil)) + authdGroups = append(authdGroups, cache.NewGroupDB(g.Name, *g.GID, nil)) + } + + oldLocalGroups, err := m.cache.UserLocalGroups(u.UID) + if err != nil && !errors.Is(err, cache.NoDataFoundError{}) { + return err } // Update user information in the cache. userDB := cache.NewUserDB(u.Name, u.UID, *u.Groups[0].GID, u.Gecos, u.Dir, u.Shell) - if err := m.cache.UpdateUserEntry(userDB, groupContents); err != nil { + if err := m.cache.UpdateUserEntry(userDB, authdGroups, localGroups); err != nil { return err } // Update local groups. - if err := localgroups.Update(u.Name, localGroups); err != nil { + if err := localgroups.Update(u.Name, localGroups, oldLocalGroups); err != nil { return errors.Join(err, m.cache.DeleteUser(u.UID)) } diff --git a/internal/users/testdata/TestNewManager/golden/new_recreates_any_missing_buckets_and_delete_unknowns b/internal/users/testdata/TestNewManager/golden/new_recreates_any_missing_buckets_and_delete_unknowns index 9eba84f32..d5abd7170 100644 --- a/internal/users/testdata/TestNewManager/golden/new_recreates_any_missing_buckets_and_delete_unknowns +++ b/internal/users/testdata/TestNewManager/golden/new_recreates_any_missing_buckets_and_delete_unknowns @@ -7,3 +7,4 @@ UserByName: user1: '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"AAAAATIME"}' UserToBroker: {} UserToGroups: {} +UserToLocalGroups: {} diff --git a/internal/users/testdata/TestNewManager/golden/successfully_create_a_new_manager b/internal/users/testdata/TestNewManager/golden/successfully_create_a_new_manager index f44565cd6..5db54ae19 100644 --- a/internal/users/testdata/TestNewManager/golden/successfully_create_a_new_manager +++ b/internal/users/testdata/TestNewManager/golden/successfully_create_a_new_manager @@ -35,3 +35,4 @@ UserToGroups: "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' +UserToLocalGroups: {} diff --git a/internal/users/testdata/TestUpdateBrokerForUser/golden/successfully_update_broker_for_user b/internal/users/testdata/TestUpdateBrokerForUser/golden/successfully_update_broker_for_user index f0ebea689..155b2fb87 100644 --- a/internal/users/testdata/TestUpdateBrokerForUser/golden/successfully_update_broker_for_user +++ b/internal/users/testdata/TestUpdateBrokerForUser/golden/successfully_update_broker_for_user @@ -36,3 +36,4 @@ "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' + UserToLocalGroups: {} diff --git a/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db b/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db index e9b3466f1..b9bf20cfe 100644 --- a/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db +++ b/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db @@ -6,3 +6,5 @@ UserByName: {} UserToBroker: {} UserToGroups: {} + UserToLocalGroups: + "1111": '["gpasswdfail"]' diff --git a/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_even_if_already_existed b/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_even_if_already_existed index cacbee18c..77347c353 100644 --- a/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_even_if_already_existed +++ b/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_even_if_already_existed @@ -29,3 +29,5 @@ "1111": '{"UID":1111,"GIDs":[11111]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' + UserToLocalGroups: + "2222": '["gpasswdfail"]' diff --git a/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_without_touching_other_users b/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_without_touching_other_users index 20661d6f9..f2f15baf5 100644 --- a/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_without_touching_other_users +++ b/internal/users/testdata/TestUpdateUser/golden/error_when_updating_local_groups_remove_user_from_db_without_touching_other_users @@ -29,3 +29,5 @@ "2222": '{"UID":2222,"GIDs":[22222,99999]}' "3333": '{"UID":3333,"GIDs":[33333,99999]}' "4444": '{"UID":4444,"GIDs":[44444]}' + UserToLocalGroups: + "1111": '["gpasswdfail"]' diff --git a/internal/users/testdata/TestUpdateUser/golden/successfully_update_user b/internal/users/testdata/TestUpdateUser/golden/successfully_update_user index d187f648b..08d7360d4 100644 --- a/internal/users/testdata/TestUpdateUser/golden/successfully_update_user +++ b/internal/users/testdata/TestUpdateUser/golden/successfully_update_user @@ -15,3 +15,5 @@ UserToBroker: {} UserToGroups: "1111": '{"UID":1111,"GIDs":[1526760316,11111]}' + UserToLocalGroups: + "1111": "null" diff --git a/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups b/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups index d187f648b..49b04c17b 100644 --- a/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups +++ b/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups @@ -15,3 +15,5 @@ UserToBroker: {} UserToGroups: "1111": '{"UID":1111,"GIDs":[1526760316,11111]}' + UserToLocalGroups: + "1111": '["localgroup1"]' diff --git a/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups.gpasswd.output b/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups.gpasswd.output deleted file mode 100644 index 2c92b6b26..000000000 --- a/internal/users/testdata/TestUpdateUser/golden/successfully_update_user_updating_local_groups.gpasswd.output +++ /dev/null @@ -1 +0,0 @@ ---delete user1 localgroup2 \ No newline at end of file diff --git a/internal/users/testdata/TestUpdateUser/golden/uid_does_not_change_if_user_already_exists b/internal/users/testdata/TestUpdateUser/golden/uid_does_not_change_if_user_already_exists index 8d9fd9210..742d72dd5 100644 --- a/internal/users/testdata/TestUpdateUser/golden/uid_does_not_change_if_user_already_exists +++ b/internal/users/testdata/TestUpdateUser/golden/uid_does_not_change_if_user_already_exists @@ -13,3 +13,5 @@ "1111": '"broker-id"' UserToGroups: "1111": '{"UID":1111,"GIDs":[1526760316]}' + UserToLocalGroups: + "1111": "null" diff --git a/pam/integration-tests/testdata/TestNativeAuthenticate/golden/authenticate_user_successfully_with_preset_user b/pam/integration-tests/testdata/TestNativeAuthenticate/golden/authenticate_user_successfully_with_preset_user deleted file mode 100644 index 04860f266..000000000 --- a/pam/integration-tests/testdata/TestNativeAuthenticate/golden/authenticate_user_successfully_with_preset_user +++ /dev/null @@ -1,46 +0,0 @@ -> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -PAM Authenticate() for user "user-integration-simple-preset" exited with success -PAM AcctMgmt() exited with success -> -──────────────────────────────────────────────────────────────────────────────── -> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK} force_native_client=true -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -PAM Authenticate() for user "user-integration-simple-preset" exited with success -PAM AcctMgmt() exited with success -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_accept_password_reset b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_accept_password_reset deleted file mode 100644 index a7ae71c53..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_accept_password_reset +++ /dev/null @@ -1,192 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> -Environment: - USER=user-can-reset2 - LOGNAME=user-can-reset2 - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_accept_pass -word_reset] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> -Environment: - USER=user-can-reset2 - LOGNAME=user-can-reset2 - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_accept_pass -word_reset] -Connection to localhost closed. -> -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> -Environment: - USER=user-can-reset2 - LOGNAME=user-can-reset2 - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_accept_pass -word_reset] -Connection to localhost closed. -> -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_accept_password_reset_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_accept_password_reset_on_shared_sshd deleted file mode 100644 index fd927e662..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_accept_password_reset_on_shared_sshd +++ /dev/null @@ -1,189 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-can-reset2 - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-can-reset2 -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-can-reset2 - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-can-reset2 -Connection to localhost closed. -> -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset2@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-can-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-can-reset2@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-can-reset2 - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-can-reset2 -Connection to localhost closed. -> -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group deleted file mode 100644 index 87b6a43ff..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group +++ /dev/null @@ -1,68 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-local-groups@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-local-groups@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-local-groups - LOGNAME=user-local-groups - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_add_it_to_l -ocal_group] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-local-groups@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-local-groups - LOGNAME=user-local-groups - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_add_it_to_l -ocal_group] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group.gpasswd_out b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group.gpasswd_out deleted file mode 100644 index 63ddd3d8f..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group.gpasswd_out +++ /dev/null @@ -1 +0,0 @@ ---add user-local-groups localgroup \ No newline at end of file diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group_on_shared_sshd deleted file mode 100644 index b42d9b91f..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group_on_shared_sshd +++ /dev/null @@ -1,68 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-local-groups@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-local-groups@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-local-groups - LOGNAME=user-local-groups - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_add_it_to_l -ocal_group_on_shared_SSHd] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-local-groups@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-local-groups@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-local-groups - LOGNAME=user-local-groups - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_add_it_to_l -ocal_group_on_shared_SSHd] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group_on_shared_sshd.gpasswd_out b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group_on_shared_sshd.gpasswd_out deleted file mode 100644 index 63ddd3d8f..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_add_it_to_local_group_on_shared_sshd.gpasswd_out +++ /dev/null @@ -1 +0,0 @@ ---add user-local-groups localgroup \ No newline at end of file diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_offer_password_reset b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_offer_password_reset deleted file mode 100644 index 0c4a7cf02..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_offer_password_reset +++ /dev/null @@ -1,97 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 2 -Environment: - USER=user-can-reset - LOGNAME=user-can-reset - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_offer_passw -ord_reset] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 2 -Environment: - USER=user-can-reset - LOGNAME=user-can-reset - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_offer_passw -ord_reset] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_offer_password_reset_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_offer_password_reset_on_shared_sshd deleted file mode 100644 index 819e07f05..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_offer_password_reset_on_shared_sshd +++ /dev/null @@ -1,95 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 2 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-can-reset - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-can-reset -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-can-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-can-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-can-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 2 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-can-reset - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-can-reset -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_reset_password_while_enforcing_policy b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_reset_password_while_enforcing_policy deleted file mode 100644 index 5bf69bfda..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_reset_password_while_enforcing_policy +++ /dev/null @@ -1,112 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset@localhost) Confirm Password: -> -Environment: - USER=user-needs-reset - LOGNAME=user-needs-reset - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_reset_passw -ord_while_enforcing_policy] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset@localhost) Confirm Password: -> -Environment: - USER=user-needs-reset - LOGNAME=user-needs-reset - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_and_reset_passw -ord_while_enforcing_policy] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_reset_password_while_enforcing_policy_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_reset_password_while_enforcing_policy_on_shared_sshd deleted file mode 100644 index 064b315b8..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_and_reset_password_while_enforcing_policy_on_shared_sshd +++ /dev/null @@ -1,110 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-needs-reset - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-needs-reset -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-needs-reset - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-needs-reset -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully deleted file mode 100644 index 22a07c2fc..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully +++ /dev/null @@ -1,69 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully - LOGNAME=user-integration-pre-check-authenticate-user-successfully - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_successfully] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully - LOGNAME=user-integration-pre-check-authenticate-user-successfully - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_successfully] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_and_enters_shell b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_and_enters_shell deleted file mode 100644 index 7aa8f414a..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_and_enters_shell +++ /dev/null @@ -1,210 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell -$ -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -Connection to localhost closed. -> echo ${SSH_CONNECTION:-Outside SSH} -Outside SSH -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Provid -er selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell@localhost) == Passwo -rd authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -Connection to localhost closed. -> echo ${SSH_CONNECTION:-Outside SSH} -Outside SSH -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_and_enters_shell_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_and_enters_shell_on_shared_sshd deleted file mode 100644 index 131ea10e2..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_and_enters_shell_on_shared_sshd +++ /dev/null @@ -1,217 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd -$ -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -Connection to localhost closed. -> echo ${SSH_CONNECTION:-Outside SSH} -Outside SSH -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd@local -host) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd - LOGNAME=user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-s -shd - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} -user-integration-pre-check-authenticate-user-successfully-and-enters-shell-on-shared-sshd -$ [ -n "${SSH_CONNECTION}" ] && echo "Inside SSH" -Inside SSH -$ -Connection to localhost closed. -> echo ${SSH_CONNECTION:-Outside SSH} -Outside SSH -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_on_shared_sshd deleted file mode 100644 index 4f4c73c37..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_successfully_on_shared_sshd +++ /dev/null @@ -1,73 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-successfully-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-successfully-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-successfully-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-successfully-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-successfully-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_auth_mode b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_auth_mode deleted file mode 100644 index 0e49300ec..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_auth_mode +++ /dev/null @@ -1,2387 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Unsupported input -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Unsupported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Invalid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Unsupported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Invalid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Unsupported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Invalid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> 4242 -Environment: - USER=user-integration-pre-check-authenticate-user-switching-auth-mode - LOGNAME=user-integration-pre-check-authenticate-user-switching-auth-mode - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_switching_auth_ -mode] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Provider selecti -on == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Password authent -ication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Qr Code authenti -cation == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Send URL to user --integration-pre-check-authenticate-user-switching-auth-mode@gmail.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode@g -mail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your fido de -vice foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Use your phone + -1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication c -ode == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Authentication m -ethod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Unsupported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) Invalid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode@localhost) == Pin code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> 4242 -Environment: - USER=user-integration-pre-check-authenticate-user-switching-auth-mode - LOGNAME=user-integration-pre-check-authenticate-user-switching-auth-mode - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_switching_auth_ -mode] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_auth_mode_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_auth_mode_on_shared_sshd deleted file mode 100644 index 966a4759f..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_auth_mode_on_shared_sshd +++ /dev/null @@ -1,2531 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Unsu -pported input -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Unsu -pported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Inva -lid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Unsu -pported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Inva -lid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Unsu -pported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Inva -lid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> 4242 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -rovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -assword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == Q -r Code authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 3 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == S -end URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@gmail -.com == -Leave the input field empty to wait for the alternative authentication method or enter 'r' to go - back to select the authentication method -Click on the link received at user-integration-pre-check-authenticate-user-switching-auth-mode-o -n-shared-sshd@gmail.com or enter the code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 4 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 5 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 6 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == U -se your phone +1... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +1... or accept request on web interface: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> r -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == A -uthentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> invalid-selection -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Unsu -pported input -Choose your authentication method: -> -1 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) Inva -lid selection -== Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 7 -(user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd@localhost) == P -in code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your pin code: -> 4242 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-switching-auth-mode-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_to_local_broker b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_to_local_broker deleted file mode 100644 index 18e4e3ab4..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_to_local_broker +++ /dev/null @@ -1,256 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Authentica -tion method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker@gmail.co -m - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Authentica -tion method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker@gmail.co -m - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Authentica -tion method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker@gmail.co -m - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Unsupported i -nput -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Authentica -tion method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker@gmail.co -m - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Unsupported i -nput -Choose your provider: -> 555 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Invalid selec -tion -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Authentica -tion method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker@gmail.co -m - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Unsupported i -nput -Choose your provider: -> 555 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Invalid selec -tion -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) SSH PAM user -'user-integration-pre-check-authenticate-user-switching-to-local-broker' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Authentica -tion method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker@gmail.co -m - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Unsupported i -nput -Choose your provider: -> 555 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) Invalid selec -tion -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-authenticate-user-switching-to-local-broker@localhost) SSH PAM user -'user-integration-pre-check-authenticate-user-switching-to-local-broker' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_to_local_broker_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_to_local_broker_on_shared_sshd deleted file mode 100644 index e774d28b7..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_switching_to_local_broker_on_shared_sshd +++ /dev/null @@ -1,258 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker-on-share -d-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker-on-share -d-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker-on-share -d-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Unsupported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker-on-share -d-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Unsupported input -Choose your provider: -> 555 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Invalid selection -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker-on-share -d-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Unsupported input -Choose your provider: -> 555 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Invalid selection -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) SSH PAM user 'user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared --sshd' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-switching-to-local-broker-on-share -d-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> invalid-ID -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Unsupported input -Choose your provider: -> 555 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) Invalid selection -== Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared-sshd@localhost -) SSH PAM user 'user-integration-pre-check-authenticate-user-switching-to-local-broker-on-shared --sshd' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_form_mode_with_button b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_form_mode_with_button deleted file mode 100644 index 2abc1efc0..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_form_mode_with_button +++ /dev/null @@ -1,289 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button@gmail.c -om - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button@gmail.c -om - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button@gmail.c -om - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button@gmail.c -om - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button@gmail.c -om - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass00 -Environment: - USER=user-integration-pre-check-authenticate-user-with-form-mode-with-button - LOGNAME=user-integration-pre-check-authenticate-user-with-form-mode-with-button - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_form_mode_ -with_button] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Provider -selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Password -authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button@gmail.c -om - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button@localhost) == Authentic -ation code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass00 -Environment: - USER=user-integration-pre-check-authenticate-user-with-form-mode-with-button - LOGNAME=user-integration-pre-check-authenticate-user-with-form-mode-with-button - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_form_mode_ -with_button] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_form_mode_with_button_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_form_mode_with_button_on_shared_sshd deleted file mode 100644 index fe8d1a923..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_form_mode_with_button_on_shared_sshd +++ /dev/null @@ -1,287 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shar -ed-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shar -ed-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shar -ed-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shar -ed-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shar -ed-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass00 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shar -ed-sshd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd@localhos -t) == Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass00 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-with-form-mode-with-button-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa deleted file mode 100644 index 67157ae7e..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa +++ /dev/null @@ -1,573 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -Environment: - USER=user-mfa - LOGNAME=user-mfa - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_mfa] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -Environment: - USER=user-mfa - LOGNAME=user-mfa - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_mfa] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -Environment: - USER=user-mfa - LOGNAME=user-mfa - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_mfa] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_and_reset_password_while_enforcing_policy b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_and_reset_password_while_enforcing_policy deleted file mode 100644 index e5a5e7ad0..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_and_reset_password_while_enforcing_policy +++ /dev/null @@ -1,528 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> -Environment: - USER=user-mfa-with-reset - LOGNAME=user-mfa-with-reset - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_mfa_and_re -set_password_while_enforcing_policy] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> -Environment: - USER=user-mfa-with-reset - LOGNAME=user-mfa-with-reset - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_mfa_and_re -set_password_while_enforcing_policy] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_and_reset_password_while_enforcing_policy_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_and_reset_password_while_enforcing_policy_on_shared_sshd deleted file mode 100644 index 65a44045d..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_and_reset_password_while_enforcing_policy_on_shared_sshd +++ /dev/null @@ -1,526 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-mfa-with-reset - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-mfa-with-reset -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa-with-reset@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa-with-reset@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa-with-reset@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -(user-mfa-with-reset@localhost) == Password reset == - 1. Proceed with password update - 2. Skip -Or enter 'r' to go back to choose the provider -Choose action: -> 1 -(user-mfa-with-reset@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password fails the dictionary check - it is based on a dicti -onary word -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is the same as the old one -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password (3 days until mandatory): -> -(user-mfa-with-reset@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-mfa-with-reset - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-mfa-with-reset -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_on_shared_sshd deleted file mode 100644 index 90445d2a1..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_mfa_on_shared_sshd +++ /dev/null @@ -1,573 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-mfa - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-mfa -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-mfa - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-mfa -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-mfa@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-mfa@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 1 -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> r -(user-mfa@localhost) == Authentication method selection == - 1. Use your fido device foo - 2. Use your phone +33... - 3. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-mfa@localhost) == Use your phone +33... == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Unlock your phone +33... or accept request on web interface: -> -(user-mfa@localhost) == Use your fido device foo == -Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth -od -Plug your fido device and press with your thumb: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-mfa - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-mfa -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_qr_code b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_qr_code deleted file mode 100644 index 90dab24c7..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_qr_code +++ /dev/null @@ -1,610 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -Environment: - USER=user-integration-pre-check-authenticate-user-with-qr-code - LOGNAME=user-integration-pre-check-authenticate-user-with-qr-code - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_qr_code] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Password authentication - == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Authentication method s -election == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code@localhost) == Qr Code authentication -== -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -Environment: - USER=user-integration-pre-check-authenticate-user-with-qr-code - LOGNAME=user-integration-pre-check-authenticate-user-with-qr-code - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Authenticate_user_with_qr_code] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_qr_code_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_qr_code_on_shared_sshd deleted file mode 100644 index 41cb57d6c..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/authenticate_user_with_qr_code_on_shared_sshd +++ /dev/null @@ -1,630 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> if [ -v AUTHD_PAM_CLI_TERM ]; then export TERM=${AUTHD_PAM_CLI_TERM}; fi -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Provider - selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Password - authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Authenti -cation method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@gmail. -com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1337 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.fr/ - 1338 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 2 -(user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd@localhost) == Qr Code -authentication == -Enter the code in the login page -https://ubuntu.com - 1341 - - 1. Wait for the QR code scan result - 2. Regenerate code -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-authenticate-user-with-qr-code-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/autoselect_local_broker_for_local_user b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/autoselect_local_broker_for_local_user deleted file mode 100644 index b7c0ee1cc..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/autoselect_local_broker_for_local_user +++ /dev/null @@ -1,8 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(root@localhost) SSH PAM user 'root' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(root@localhost) SSH PAM user 'root' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/autoselect_local_broker_for_local_user_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/autoselect_local_broker_for_local_user_on_shared_sshd deleted file mode 100644 index b7c0ee1cc..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/autoselect_local_broker_for_local_user_on_shared_sshd +++ /dev/null @@ -1,8 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(root@localhost) SSH PAM user 'root' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(root@localhost) SSH PAM user 'root' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_max_attempts_reached b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_max_attempts_reached deleted file mode 100644 index f56fda73a..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_max_attempts_reached +++ /dev/null @@ -1,223 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -invalid password 'wrongpass', should be 'goodpass' - -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Password a -uthentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) invalid passw -ord 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -invalid password 'wrongpass', should be 'goodpass' - -(user-integration-pre-check-deny-authentication-if-max-attempts-reached@localhost) == Provider s -election == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_max_attempts_reached_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_max_attempts_reached_on_shared_sshd deleted file mode 100644 index 307592951..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_max_attempts_reached_on_shared_sshd +++ /dev/null @@ -1,223 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -invalid password 'wrongpass', should be 'goodpass' - -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) invalid password 'wrongpass', should be 'goodpass' -== Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -invalid password 'wrongpass', should be 'goodpass' - -(user-integration-pre-check-deny-authentication-if-max-attempts-reached-on-shared-sshd@localhost -) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_newpassword_does_not_match_required_criteria b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_newpassword_does_not_match_required_criteria deleted file mode 100644 index f2717d1e6..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_newpassword_does_not_match_required_criteria +++ /dev/null @@ -1,386 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -Environment: - USER=user-needs-reset2 - LOGNAME=user-needs-reset2 - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Deny_authentication_if_newpasswor -d_does_not_match_required_criteria] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -Environment: - USER=user-needs-reset2 - LOGNAME=user-needs-reset2 - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Deny_authentication_if_newpasswor -d_does_not_match_required_criteria] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_newpassword_does_not_match_required_criteria_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_newpassword_does_not_match_required_criteria_on_shared_sshd deleted file mode 100644 index 4c3f7c8b5..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_newpassword_does_not_match_required_criteria_on_shared_sshd +++ /dev/null @@ -1,384 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-needs-reset2 - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-needs-reset2 -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-needs-reset2@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-needs-reset2@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-needs-reset2@localhost) == Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password is shorter than 8 characters -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) The password fails the dictionary check - it is too simplistic/sys -tematic -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> -(user-needs-reset2@localhost) Password entries don't match -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) No password supplied -== Password reset == -Enter 'r' to cancel the request and go back to choose the provider -Enter your new password: -> -(user-needs-reset2@localhost) Confirm Password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-needs-reset2 - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-needs-reset2 -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist deleted file mode 100644 index 88c52fafe..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist +++ /dev/null @@ -1,8 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-unexistent@localhost) SSH PAM user 'user-unexistent' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-unexistent@localhost) SSH PAM user 'user-unexistent' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_and_matches_cancel_key b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_and_matches_cancel_key deleted file mode 100644 index 3e4170455..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_and_matches_cancel_key +++ /dev/null @@ -1,8 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(r@localhost) SSH PAM user 'r' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(r@localhost) SSH PAM user 'r' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_and_matches_cancel_key_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_and_matches_cancel_key_on_shared_sshd deleted file mode 100644 index 3e4170455..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_and_matches_cancel_key_on_shared_sshd +++ /dev/null @@ -1,8 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(r@localhost) SSH PAM user 'r' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(r@localhost) SSH PAM user 'r' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_on_shared_sshd deleted file mode 100644 index 88c52fafe..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/deny_authentication_if_user_does_not_exist_on_shared_sshd +++ /dev/null @@ -1,8 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-unexistent@localhost) SSH PAM user 'user-unexistent' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-unexistent@localhost) SSH PAM user 'user-unexistent' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_local_broker_is_selected b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_local_broker_is_selected deleted file mode 100644 index 7b0104053..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_local_broker_is_selected +++ /dev/null @@ -1,30 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-local-broker-is-selected@localhost) == Provider select -ion == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-local-broker-is-selected@localhost) == Provider select -ion == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-exit-authd-if-local-broker-is-selected@localhost) SSH PAM user 'user --integration-pre-check-exit-authd-if-local-broker-is-selected' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-local-broker-is-selected@localhost) == Provider select -ion == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-exit-authd-if-local-broker-is-selected@localhost) SSH PAM user 'user --integration-pre-check-exit-authd-if-local-broker-is-selected' using local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_local_broker_is_selected_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_local_broker_is_selected_on_shared_sshd deleted file mode 100644 index 1bdc4efca..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_local_broker_is_selected_on_shared_sshd +++ /dev/null @@ -1,32 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd@localhost) == -Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd@localhost) == -Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd@localhost) SSH - PAM user 'user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd' usi -ng local broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd@localhost) == -Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 1 -(user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd@localhost) SSH - PAM user 'user-integration-pre-check-exit-authd-if-local-broker-is-selected-on-shared-sshd' usi -ng local broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_user_sigints b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_user_sigints deleted file mode 100644 index ebe1c0a45..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_user_sigints +++ /dev/null @@ -1,61 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - -> echo $TERM -xterm-256color -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints@localhost) == Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - -> echo $TERM -xterm-256color -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_user_sigints_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_user_sigints_on_shared_sshd deleted file mode 100644 index f8ee7514e..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_authd_if_user_sigints_on_shared_sshd +++ /dev/null @@ -1,70 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Provider sel -ection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Provider sel -ection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Password aut -hentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Provider sel -ection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Password aut -hentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Provider sel -ection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Password aut -hentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - -> echo $TERM -xterm-256color -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Provider sel -ection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-exit-authd-if-user-sigints-on-shared-sshd@localhost) == Password aut -hentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - -> echo $TERM -xterm-256color -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_if_user_is_not_pre-checked_on_ssh_service b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_if_user_is_not_pre-checked_on_ssh_service deleted file mode 100644 index 2ac268b4d..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_if_user_is_not_pre-checked_on_ssh_service +++ /dev/null @@ -1,10 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-ssh-service@localhost) SSH PAM user 'user-integration-ssh-service' using local - broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-ssh-service@localhost) SSH PAM user 'user-integration-ssh-service' using local - broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_if_user_is_not_pre-checked_on_ssh_service_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_if_user_is_not_pre-checked_on_ssh_service_on_shared_sshd deleted file mode 100644 index 2ac268b4d..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/exit_if_user_is_not_pre-checked_on_ssh_service_on_shared_sshd +++ /dev/null @@ -1,10 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-ssh-service@localhost) SSH PAM user 'user-integration-ssh-service' using local - broker -Password: -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-ssh-service@localhost) SSH PAM user 'user-integration-ssh-service' using local - broker -Password: -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/prevent_user_from_switching_username b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/prevent_user_from_switching_username deleted file mode 100644 index 9f010c3e8..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/prevent_user_from_switching_username +++ /dev/null @@ -1,344 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-prevent-user-from-switching-username - LOGNAME=user-integration-pre-check-prevent-user-from-switching-username - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Prevent_user_from_switching_usern -ame] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Authentication me -thod selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Provider selectio -n == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username@localhost) Unsupported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username@localhost) == Password authenti -cation == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -Environment: - USER=user-integration-pre-check-prevent-user-from-switching-username - LOGNAME=user-integration-pre-check-prevent-user-from-switching-username - HOME=${AUTHD_TEST_HOME} - PATH=${AUTHD_TEST_PATH} - SHELL=/bin/sh - TERM=xterm-256color - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Prevent_user_from_switching_usern -ame] -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/prevent_user_from_switching_username_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/prevent_user_from_switching_username_on_shared_sshd deleted file mode 100644 index 3bf9fb39a..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/prevent_user_from_switching_username_on_shared_sshd +++ /dev/null @@ -1,367 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Au -thentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@ -gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pr -ovider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> r -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) Unsup -ported input -Choose your provider: -> 2 -(user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd@localhost) == Pa -ssword authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-prevent-user-from-switching-username-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/remember_last_successful_broker_and_mode b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/remember_last_successful_broker_and_mode deleted file mode 100644 index c9a4d49c1..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/remember_last_successful_broker_and_mode +++ /dev/null @@ -1,449 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Provider sele -ction == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Password auth -entication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode@localhost) == Authenticatio -n code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate/Remember_last_successful_broker_a -nd_mode] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── diff --git a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/remember_last_successful_broker_and_mode_on_shared_sshd b/pam/integration-tests/testdata/TestSSHAuthenticate/golden/remember_last_successful_broker_and_mode_on_shared_sshd deleted file mode 100644 index 69048cc89..000000000 --- a/pam/integration-tests/testdata/TestSSHAuthenticate/golden/remember_last_successful_broker_and_mode_on_shared_sshd +++ /dev/null @@ -1,450 +0,0 @@ -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> -──────────────────────────────────────────────────────────────────────────────── -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Provider selection == - 1. local - 2. ExampleBroker -Choose your provider: -> 2 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Password authentication == -Enter 'r' to cancel the request and go back to select the authentication method -Gimme your password: -> -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication method selection == - 1. Password authentication - 2. Use a Login code - 3. Send URL to user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-s -shd@gmail.com - 4. Use your fido device foo - 5. Use your phone +33... - 6. Use your phone +1... - 7. Pin code - 8. Authentication code -Or enter 'r' to go back to choose the provider -Choose your authentication method: -> 8 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> ssh ${AUTHD_PAM_SSH_USER}@localhost ${AUTHD_PAM_SSH_ARGS} -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == - 1. Proceed with Authentication code - 2. Resend sms -Or enter 'r' to go back to select the authentication method -Choose action: -> 1 -(user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd@localhost) = -= Authentication code == -Enter 'r' to cancel the request and go back to select the authentication method -Enter your one time credential: -> temporary pass0 - SSHD: Connected to ssh via authd module! [TestSSHAuthenticate] - HOME=${AUTHD_TEST_HOME} - LOGNAME=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd - PATH=${AUTHD_TEST_PATH} - PWD=${AUTHD_TEST_PWD} - SHELL=/bin/sh - SSH_CLIENT=${AUTHD_TEST_SSH_CLIENT} - SSH_CONNECTION=${AUTHD_TEST_SSH_CONNECTION} - SSH_TTY=${AUTHD_TEST_SSH_TTY} - TERM=xterm-256color - USER=user-integration-pre-check-remember-last-successful-broker-and-mode-on-shared-sshd -Connection to localhost closed. -> -────────────────────────────────────────────────────────────────────────────────