Support This Project

site change

Description

Modifies a single field for a single user account.

Syntax

site change <user> <field> <value>

Detailed information on the options/arguments: <user>, <field>

Please see the <field> documentation for assistance on <value>.

Limitations

  • A group administrator can only use this command on users within their own group.
  • Group administrators cannot change the homedir, flags and group fields for any user.
  • Changing the user_slots and leech_slots fields may result in inaccurate counting (see ticket #3).

Examples

site change johndoe name johndoe2

Renames the johndoe user to johndoe2.

site change johndoe num_logins 10

Allows johndoe to have a maximum of 10 sessions to the FTP server connected at a time.

site change barry flags +abC

Gives barry the flags a, b and C. This command will only work for site operators, as we're modifying the flags field.

site change barry flags -abC

Removes the flags a, b and C from barry. This command will only work for site operators, as we're modifying the flags field.

site change barry flags abC

Sets the flags for barry to a, b and C. All other flags assigned to barry will be lost because + and - were not specified in <value>. This command will only work for site operators, as we're modifying the flags field.