SysTutorials

Linux Manual Pages › Section 1

ipa-moduser(1)

NAME

ipa-moduser – Modify a user

SYNOPSIS

ipa-moduser [OPTION]… name

DESCRIPTION

Updates the user name.

OPTIONS

-a, –activate
Activate a user that was previously inactivated
-c, –gecos=GECOS
Set the gecos field of the user. This is traditionally the user’s full name.
-d, –directory=directory
Set user’s home directory
-f, –firstname=NAME
Set user’s first name
-l, –lastname=NAME
Set user’s last name
-s, –shell=shell
Set user’s login shell
–addattr attr=value
Add a new attribute, or value to an existing attribute
–delattr attr=value
Remove an attribute and all values
–setattr attr=value
Set an attribute to a new value, removing all old ones

EXIT STATUS

The exit status is 0 on success, nonzero on error.