How to create a personality through uptool?
uptool create { TYPE: up,gp,g } [-s [container]] [-t grouptype] [-f datafile [-g | -p prefix]]
The TYPE argument specifies the type of Active Directory object to use for
the command. The following types are supported and may be specified as
listed:
up = User Personality
gp = Group Personality
Below is an example of creating a user personality using uptool:
root@stewie # uptool -u Administrator create up
Password for Administrator@cs-gloria.com:
Enter the DN to the Personality Container
[OU=testingUPM,dc=cs-gloria,dc=com]:
Would you like to link this Personality to an Active Directory User? (y/n)
: y
Enter a search base for Active Directory users
[dc=cs-gloria,dc=com]:
Finding the Active Directory user to which the new Personality will be linked:
Enter the name of the AD user
: ej
Possible AD users matching your search:
0: CN=EJ Andrews,CN=Users,DC=CS-Gloria,DC=com
-: run a different search
Enter the number of the User to which to link the Personality
[0]:
Please enter the CN for the personality to be created
[EJ Andrews]:
Enter a passwd-formatted entry for the new User Personality:
FORMAT=[LOGIN]:x:[UID]:[GID]:[GECOS]:[HOMEDIR]:[SHELL]
Type 'NULL' for undesired fields, defaults will be used for empty values
[ej:x:2051:1000:EJ Andrews:NULL:/bin/sh]
:
User Personality 'ej' successfully created.
root@stewie # more .uptool.conf
primary_ou = OU=testingUPM,dc=cs-gloria,dc=com
user_search_base = dc=cs-gloria,dc=com
# uptool
Usage: uptool [-h [command]] [-v] [-d integer] [-m program] [-o container]
[-s searchbase] [-u username] [-k keytab] [-w password] command [args]
-d integer Debug verbosity level 0-5 (Default 0)
-h [command] Display this message, or help for a given command
-k filename Keytab used to authenticate
-m program Match method to use for migrate command
-o container Personality Container to use for the command
-s searchbase Searchbase to use while looking for AD accounts
-u username User or principal to run the command as (Default current user)
-v Display uptool version number and exit
-w password Password used to authenticate (Default prompt for password)
Available commands:
admin: Update uptool configuration file (.uptool.conf)
container: Create/promote Personality Container or manage Shared containers
create: Create User or Group Personalities, or AD groups
delete: Delete User or Group Personalities, or AD groups
depopulate: Remove User Personalities from Group Personalities or AD groups
info: View information about Personality Container that is currently
configured by UPM search path on the computer object
list: List User or Group Personalities, or AD groups
membership: Display members of a Group Personality or AD group that are User
Personalities
migrate: Match Unix account info from a file to AD accounts and generate
a personality creation file to pass to uptool create -f
modify: Modify a User or Group Personality, or AD group
populate: Add User Personalities to Group Personalities or AD groups
For more iformation about uptool please refer to the uptool man page that comes with the product download in the docs folder
© 2025 One Identity LLC. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center