Changeset 11 for server/common/oursrc/lockeradm/signup-scripts-backend.in
- Timestamp:
- Oct 1, 2006, 3:37:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/lockeradm/signup-scripts-backend.in
r1 r11 48 48 49 49 # Complain if user's uid is too low or too high 50 complain("bad uid") unless($uid1 > @min_user_uid@and $uid1 < (1 << 31));50 complain("bad uid") unless($uid1 > 110 and $uid1 < (1 << 31)); 51 51 52 52 # Run ls to confirm user's .scripts-signup file … … 71 71 # Add user to /etc/passwd 72 72 `@sudo_path@ -u root @groupadd_path@ -g '$gid1' '$username'`; 73 `@sudo_path@ -u root @useradd_path@ -d '$homedir' -s '/usr/local/bin/ bash' -u '$uid1' -g '$gid1' -G users '$username'`;73 `@sudo_path@ -u root @useradd_path@ -d '$homedir' -s '/usr/local/bin/modbash' -u '$uid1' -g '$gid1' -G users '$username'`; 74 74 # Add disk quota for user 75 `@sudo_path@ -u root @setquota_path@ '$username' 0 25000 0 10000 `;75 `@sudo_path@ -u root @setquota_path@ '$username' 0 25000 0 10000 -a`; 76 76 77 77 printexit("done", 0);
Note: See TracChangeset
for help on using the changeset viewer.