This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
build:users [2010/09/23 17:56] SLUUG Administration |
build:users [2010/09/23 18:07] (current) SLUUG Administration |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | ===== Adding Users ===== | + | ===== Adding Users - Debian ===== |
| There are 2 ways to add a user: ''useradd'', and ''adduser''. With the first, you specify the username and all the settings on the command-line. The second walks you through the process, asking you all the necessary questions. | There are 2 ways to add a user: ''useradd'', and ''adduser''. With the first, you specify the username and all the settings on the command-line. The second walks you through the process, asking you all the necessary questions. | ||
| Line 18: | Line 18: | ||
| * Account majordomo is only defined on bud. | * Account majordomo is only defined on bud. | ||
| - | ===== Groups ===== | + | ===== Groups - Debian ===== |
| These groups seem to be important in Debian: | These groups seem to be important in Debian: | ||
| Line 64: | Line 64: | ||
| * "administrative" accounts, which are accounts used for SLUUG business, not individual use | * "administrative" accounts, which are accounts used for SLUUG business, not individual use | ||
| - | ===== Adding Groups ===== | + | ===== Adding Groups - Debian ===== |
| As with users, there are 2 ways to add a group: ''groupadd'', and ''addgroup''. | As with users, there are 2 ways to add a group: ''groupadd'', and ''addgroup''. | ||
| Line 242: | Line 242: | ||
| ===== Adding a new user ===== | ===== Adding a new user ===== | ||
| - | Coordinate account name, UID, GID, etc. with other systems as detailed [[#Adding Users|above in Adding Users]]. | + | Coordinate account name, UID, GID, etc. with other systems as detailed [[#adding_users - debian|above in Adding Users]]. |
| Create the personal group if that is being used. For that, the GID is the same as the UID. | Create the personal group if that is being used. For that, the GID is the same as the UID. | ||
| Line 278: | Line 278: | ||
| passwd -s ACCOUNT_NAME | passwd -s ACCOUNT_NAME | ||
| </code> | </code> | ||
| + | |||
| + | ===== Other user maintenance ===== | ||
| + | |||
| + | See the ''listusers'', ''usermod'', and ''userdel'' commands | ||