Support This Project

site adduser

Description

Add a user account to the server. Site operators can choose which group the user is added to. If a group administrator is adding a new user with this command, their user_slots count will be decreased as appropriate. All new users will be given a home directory equal to default_home, as defined in the configuration file. A default ratio of 1:3 is also assigned to the new user.

Syntax

site adduser <user> <password> [<group>] [<backend>] 

Detailed information on the options/arguments: <user>, <password>, <group>, <backend>

Limitations

  • If you are a gadmin, you can only add users to your own group.
  • The newly created account will not have any IP addresses assigned to it, and therefore will not be allowed to login. You will need to use the site addip command to assign one or more IP addresses to the new account.

Examples

site adduser johndoe qwerty group1

This will add a new user by the name of johndoe to the group1 group. The new user will be assigned the password qwerty.

site adduser bob mypassword

A new user bob is created with mypassword set as the password. They are not assigned to any particular group.

site adduser fiona A83Nvoe4mP admins plaintext

This complicated line will add a new user called fiona to the admins group. The new user account will be added to the plaintext backend and will have the password set as A83Nvoe4mP.