Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infra:howto:manage_users [2026/07/23 07:59] – varinka | infra:howto:manage_users [2026/10/23 05:31] (current) – better quotas/reservations antranigv | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| </ | </ | ||
| - | This prints the next available ID (highest UID + 1). This number will be used for both the UID and GID. Then create the user: | + | This prints the next available ID (highest UID + 1). This number will be used for both the UID and GID. Then create |
| + | |||
| + | < | ||
| + | ldapaddgroup username newId | ||
| + | </ | ||
| < | < | ||
| Line 29: | Line 33: | ||
| '' | '' | ||
| - | |||
| - | ===== Creating Datasets ===== | ||
| - | |||
| - | For each user two datasets shall be created in the storage - 10G home and 100G user - in (/ | ||
| - | |||
| - | < | ||
| - | # creation of 10G/10G/12G home | ||
| - | zfs create -o refquota=10G | ||
| - | |||
| - | # creation of 100G/ | ||
| - | zfs create -o refquota=100G -o refreservation=100G -o reservation=120G znas1/ | ||
| - | |||
| - | # Granting permissions to both | ||
| - | chown -R ${userid}: | ||
| - | chown -R ${userid}: | ||
| - | |||
| - | </ | ||
| ===== Setting Password ===== | ===== Setting Password ===== | ||
| Line 88: | Line 75: | ||
| ldapremovesshkey username " | ldapremovesshkey username " | ||
| </ | </ | ||
| + | |||
| + | ===== Creating Datasets ===== | ||
| + | |||
| + | For each user two datasets shall be created in the storage server, '' | ||
| + | |||
| + | < | ||
| + | # creation of 10G/10G/12G home | ||
| + | zfs create -o refquota=10G | ||
| + | |||
| + | # creation of 100G/ | ||
| + | zfs create -o refquota=100G -o quota=120G -o reservation=120G znas1/ | ||
| + | |||
| + | # Granting permissions to both | ||
| + | chown -R ${userid}: | ||
| + | chown -R ${userid}: | ||
| + | |||
| + | </ | ||
| + | |||
| ===== Removing User Email ===== | ===== Removing User Email ===== | ||
