System information
Creating new user: sat5_admin
Creating new user: auser1
Creating new user: auser2
To show the users were created, log in to the WebUI and navigate to Ad min ister → Users.
Alternatively, use the command line as shown below.
# hammer user list
ID | LOGIN | NAME | EMAIL
5 | auser1 | A User1 | auser1@ example.com
4 | auser2 | A User2 | auser2@ example.com
1 | admin | Admin User | root@ sat6.example.com
# hammer user list --search sat5_admin
ID | LOGIN | NAME | EMAIL
3 | sat5_admin | Hat Red | sat5admin@ example.com
The following is an example password file for the imported users:
# head new-user-passwords.csv
mail,login,password
sat5admin@ example.com,sat5_admin,sat5_admin_svenkmxf
auser1@ example.com,auser1,auser1_pwfnagdk
auser2@ example.com,auser2,auser2_rsgywazf
Note
By default, Satellite 6 creates an ad mi n user as the initial administrator. It is common for
Satellite 5 customers to also create a generic administrative user; consequently, if the import
process detects a Satellite 5 ad mi n user, it renames that user to sat5_ad mi n.
Delet in g Imp o rt ed Users
You can use the --d el ete option to delete the entities from the Satellite 6 instance based on
information in the specified CSV file. The following example demonstrates the use of this option to
delete imported users.
Examp le 3.4 . D elet ing Imp o rted Users
$ hammer import user --csv-file /tmp/exports/users.csv --delete --
verbose
Deleting from /tmp/exports/users.csv
Deleting imported user [1->5].
Red Hat Sat ellit e 6 .0 T ransit ion G uid e
28