4.11.1 Add OS user (Linux)
Function
Adds an OS user in a Linux environment and adds that OS user
This module assumes the following server:
• Execution target server
This is the server on which this module is executed. Linux must have already been set up.
Use situation
You use this plugin to add a user for operations in Linux. To set a password for the OS user, use the following plugin:
osChangePassword
Prerequisites
For the latest support information about [Required product in the System]/[Required products on the execution target server]/[Prerequisite product OS running in the execution target server], see the release notes.
[Required product in the System]
(1)Job Management Partner 1/Automatic Operation 10-00 or later
[Required products on the execution target server]
None.
[Prerequisite product OS running in the execution target server]
(1) Red Hat Enterprise Linux 5 Advanced Platform (x86), Red Hat Enterprise Linux 5 (x86), Red Hat Enterprise Linux 5 Advanced Platform (AMD/Intel 64), Red Hat Enterprise Linux 5 (AMD/Intel 64)
(2) Red Hat Enterprise Linux Server 6 (32-bit x86),Red Hat Enterprise Linux Server 6 (64-bit x86_64)
[Usage conditions for required products in the execution target system]
None.
Cautions
(1) When you run this service in a Linux environment, do not use multi-byte characters in the properties.
Version
01.00.04
Category
OperatingSystem/Linux/Basic
Plug-in name displayed in the task log
osAddUser_Lin
Return code
0: Normal
21: Error (invalid environment) Command cannot be found (error detected in the plugin script)
27: Error (check task logs for the nature of error)
41: Error (error detected in plugin) Missing property (error detected in plugin script)
Property list
The following table lists the properties:
Property key |
Property name |
Description |
Default value |
I/O type |
Required |
---|---|---|---|---|---|
Linux.accountComment |
Explanation comment for the OS user |
Specify a description of the user's account. |
-- |
Input |
O |
Linux.userHomeDir |
OS user's home directory |
Specify the full path of the OS user's home directory. |
-- |
Input |
O |
Linux.accountExpires |
OS user's expiration date |
Specify the OS user expiration date in YYYY-MM-DD format. |
-- |
Input |
O |
Linux.osGroupName |
OS user's group name |
Specify the name of the group to be assigned to the OS user. |
-- |
Input |
O |
Linux.osUserName |
OS user name |
Specify the name of the OS user to be created. |
-- |
Input |
R |
plugin.destinationHost |
Host name of the execution target server |
Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported. |
-- |
Input |
R |
common.returnValue |
Return value for the plugin |
The return value of this plugin stored. |
-- |
Output |
O |