User Tools

Site Tools


build:users

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
build:users [2007/06/13 15:45]
206.197.251.70
build:users [2008/03/11 11:12]
24.107.98.225 Added platinum/gold/silver/bronze groups. (CMB)
Line 1: Line 1:
 ====== Users ====== ====== Users ======
- 
- 
- 
- 
- 
  
  
Line 44: Line 39:
 In addition, we've defined these groups (mainly grabbed from Michelob'​s /etc/group file): In addition, we've defined these groups (mainly grabbed from Michelob'​s /etc/group file):
  
-^Group^Function| +^Group^GID^Function| 
-|wheel|We'​ve got it set up so these folks can sudo without a root password.| +|wheel||We've got it set up so these folks can sudo without a root password.| 
-|users|Default group that all users should belong to.| +|users||Default group that all users should belong to.| 
-|newslett|Not sure if it's used; only member is editor.| +|newslett||Not sure if it's used; only member is editor.| 
-|steercom|Ad-hoc list of Steering Committee attendees, who can access steercom directory on Michelob.| +|steercom||Ad-hoc list of Steering Committee attendees, who can access steercom directory on Michelob.| 
-|webhead|Users who have write access to our web sites.| +|webhead||Users who have write access to our web sites.| 
-|majordom|Used for mailing list management; ''​lists''​ account is included.|+|majordom||Used for mailing list management; ''​lists''​ account is included.| 
 +|platinum|11111|Members who have paid for the Platinum membership level.| 
 +|gold|11112|Members who have paid for the Gold membership level.| 
 +|silver|11113|Members who have paid for the Silver membership level.| 
 +|bronze|11114|Members who have paid for the Bronze membership level.|
  
 TODO: Create groups for: TODO: Create groups for:
-  * a group for each paid account level (eg. gold/​silver) 
   * users who have paid up for the current year (paid2006, etc.)   * users who have paid up for the current year (paid2006, etc.)
   * voting members, as defined by our articles of incorporation / by-laws   * voting members, as defined by our articles of incorporation / by-laws
Line 63: Line 61:
  
 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''​.
 +
 +<code rootshell>​
 +groupadd -g gid groupname
 +</​code>​
  
 TODO: Adding users to groups. TODO: Adding users to groups.
Line 69: Line 71:
  
 TODO: Adding sudoers. What groups should administrators be in? So far, it looks like ''​wheel''​ will suffice. TODO: Adding sudoers. What groups should administrators be in? So far, it looks like ''​wheel''​ will suffice.
- 
  
 ===== Using a User Account ===== ===== Using a User Account =====
Line 75: Line 76:
 TODO: Add info about how they can change their settings. Especially things like chfn, chsh, .forward, .profile, .bashrc, passwd, etc. TODO: Add info about how they can change their settings. Especially things like chfn, chsh, .forward, .profile, .bashrc, passwd, etc.
  
-This should go on a user documentation page, not a "​build"​ page.+This should go on a [[../​server_access|user documentation page]], not a "​build"​ page.
  
 ===== Migrating User Accounts ===== ===== Migrating User Accounts =====
Line 133: Line 134:
 Edit /etc/group and /​etc/​gshadow. ​ Move "​useracct"​ just before "​users"​. Edit /etc/group and /​etc/​gshadow. ​ Move "​useracct"​ just before "​users"​.
 </​code>​ </​code>​
 +When tried 01/30/08 on the reloaded systems, unable to add the group with GID 4294967294 ​ because the groupadd command failed with error message "​invalid numeric argument '​4294967294'"​. ​ This worked before the systems were reloaded.
  
 === User/UID changes on new systems: === === User/UID changes on new systems: ===
-  * Rename 6 installation accounts with the same name as an existing user account. ​ Do not change UID or GID number.+  * Rename 6 installation accounts with the same name as an existing user account. ​ Do not change UID or GID number.  For the reloaded systems, there are different accounts on each system, and the decision was to not rename them, but to not copy them from michelob and change the UID of the existing accounts. ​ So this step was not done on the reloaded systems.
 <​code>​ <​code>​
   - Repeat for each account:   - Repeat for each account:
build/users.txt · Last modified: 2010/09/23 18:07 by SLUUG Administration