You can add, modify or delete users on a host using the user command line utility iftpaddu.exe
.
Important: You cannot use this utility to add users to a host that uses an Active Directory database, Microsoft Windows user database or external LDAP database.
To run the Add User Utility:
cmd.exe
and click OK.C:\Program Files\Ipswitch\WS_FTP Server\
.iftpaddu /?
.The basic syntax for adding, modifying and removing a user, as well as the syntax to change permissions for all users on the server at once, are indicated below.
Adding a User |
|
Modifying a User |
|
Deleting a User |
|
Modifying All Users on a Host |
|
Note: All arguments are case-sensitive and must be supplied as lower case.
Note:When using the +/-root
and +/-lock
command line switches, the command lock
switch must precede the root
switch, otherwise the the command line will fail.
Arguments |
When to use |
|
Use when you want to add a new user. If -add, - mod, -kill or -all are not specified, -add is assumed. |
|
Use when you want to modify an existing user. |
|
Use to delete a user. You must also specify a username using |
|
This argument can be used in conjunction with the |
|
Specifies an external file from which to read additional arguments. |
|
Adds a username, where username the user you want to add. This is the only required argument. Only one username can be added in a single command. |
|
Specifies the user's host, where hostname is the name of the file transfer host. The primary FTP host is used if no host is specified. |
|
Specifies the full name of the user. The full name must be enclosed in quotes if it contains any spaces. |
|
Specifies a home folder for a user. |
|
Specifies the password for a user. |
|
Adds the user to the specified group. |
|
Removes the user from the specified group. |
|
Sets the quota space for the user. (The minimum to enter is 1024. Less than this number will enter a "0" as the quota space.) |
|
Sets the file count quota for the user. |
|
Enables the user to log on. This is the default setting when adding a new user. |
|
Disables the user account, so the user cannot log in. |
|
Enables the user to change password from an FTP client. |
|
Disables the user's ability to change password from an FTP client. |
-e emailaddress |
Sets the email address for the specified user. |
|
Forces the user to change the password on next login from an FTP client. For more information on functionality of this option, see the "User must change password at next logon" option in Creating user accounts. |
|
Disables the force change password option. |
|
Grants the user Host Administrator permissions. |
|
Removes Host Administrator permissions from the user. |
|
Outputs a list of the commands needed to generate all of the users on a host in a format that can be used with the -f argument. If -u is specified, only the commands needed to generate the specified user are output. Examples: |
|
Locks a user to their home folder. |
|
Unlocks a user from their home folder. |
|
Displays the user home folder as root (/), effectively hiding the path to the location. |
|
Displays the full path to the user's home folder, for example /users/fredf |
|
Grants the user System Administrator permissions. |
|
Removes System Administrator permissions from the user. |