1ipa-adduser(1) ipa-adduser(1)
2
3
4
6 ipa-adduser - Add a user
7
8
10 ipa-adduser [OPTION]... user
11
12
14 Adds a user with username user.
15
16
18 -c, --gecos=gecos
19 Set the GECOS field to gecos. The GECOS field is traditionally
20 used to store user's real name and other information.
21
22 -d, --directory=directory
23 Set user's home directory to directory. If this option is not
24 present, a default specified by the freeIPA configuration is
25 used.
26
27 -f, --firstname=givenName
28 Set user's first name to givenName.
29
30 -l, --lastname=familyName
31 Set user's last name to familyName.
32
33 -p, --password=password
34 Set user's password to password.
35
36 -s, --shell=shell
37 Set the user's login shell to shell. If this option is not
38 present, a default specified by the freeIPA configuration is
39 used.
40
41 -G, --groups=groups
42 Add this user to one or more groups in groups. groups is a
43 comma-separated list of groups. Each group must already exist.
44
45 -k, --krb-principal=principal
46 Set this user's principal to principal. By default the princiā
47 pal is set to user.
48
49 -M, --mailAddress=mail
50 Set this user's e-mail address to mail.
51
52 The mandatory fields are: user, first name, last name and password. If
53 any of these are not included on the command line you will be asked
54 interactively.
55
56 If no options are passed then all questions are asked.
57
59 The exit status is 0 on success, nonzero on error.
60
61
62
63freeipa Oct 10 2007 ipa-adduser(1)