-
Notifications
You must be signed in to change notification settings - Fork 0
Managing Users
🇫🇷 Cette page est également disponible en français : fr-Managing-Users
This page covers creating, organizing, and managing user accounts in Nextcloud, including group management, quotas, and CSV import for bulk provisioning.
- You are logged in as an administrator.
- Nextcloud is configured — see Configuring-Nextcloud.
- Go to Settings > Users in the Nextcloud administration panel.
- Click New user.
- Fill in the fields:
| Field | Description |
|---|---|
| Username | Unique login name (cannot be changed later) |
| Display name | Full name shown in the interface |
| Password | Initial password (user can change it after login) |
| Optional — used for notifications and password reset | |
| Groups | Assign the user to one or more groups |
| Quota | Storage quota (e.g. 5 GB) or Default quota
|
- Click Add new user.
sudo -u www-data php /var/www/nextcloud/occ user:add \
--display-name="Jane Doe" \
--group="researchers" \
jdoe
# You will be prompted for the passwordGroups let you manage permissions, sharing, and quotas for sets of users.
- Go to Settings > Users.
- Click Add group in the left sidebar.
- Enter a group name and press Enter.
- From the user list: click the Groups cell for a user and add the group name.
- Via CLI:
sudo -u www-data php /var/www/nextcloud/occ group:adduser researchers jdoesudo -u www-data php /var/www/nextcloud/occ group:listmembers researchers- Go to Settings > Administration > User authentication.
- Set the Default quota field (e.g.
10 GB).
- Go to Settings > Users.
- Find the user and click the Quota column.
- Enter the quota value (e.g.
5 GB) and press Enter.
sudo -u www-data php /var/www/nextcloud/occ user:setting jdoe files quota "5 GB"For university or enterprise environments, you can import users from a CSV file using the User CSV Import app (install it first from Settings > Apps).
CSV format:
userid,display_name,email,groups,quota,password
jdoe,Jane Doe,jdoe@example.com,researchers|students,5 GB,ChangeMe123!
asmith,Alice Smith,asmith@example.com,staff,10 GB,ChangeMe123!Import command (if the app provides CLI support):
sudo -u www-data php /var/www/nextcloud/occ user:import /path/to/users.csvNote: Passwords in CSV files are temporary. Require users to change their password on first login via Settings > Administration > Security.
- Go to Settings > Users.
- Click the three-dot menu next to the user.
- Select Edit user and update the password.
sudo -u www-data php /var/www/nextcloud/occ user:resetpassword jdoesudo -u www-data php /var/www/nextcloud/occ user:disable jdoesudo -u www-data php /var/www/nextcloud/occ user:enable jdoesudo -u www-data php /var/www/nextcloud/occ user:delete jdoeWarning: Deleting a user permanently removes their data. Consider disabling the user instead.
| Next | Page |
|---|---|
| Manage installed apps | Managing-Apps |
| Troubleshoot issues | Troubleshooting |
| Get support | Support |
Getting Started
Configuration
Administration
Using Nextcloud
Help
Démarrage
Configuration
Administration
Utiliser Nextcloud
Aide