Changeset 11 for server/common/oursrc


Ignore:
Timestamp:
Oct 1, 2006, 3:37:19 PM (18 years ago)
Author:
jbarnold
Message:
Fixed various bugs discovered when testing packages
Improved OpenAFS kernel module patch
Location:
server/common/oursrc/lockeradm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/lockeradm/configure.in

    r1 r11  
    1717AC_SUBST(grep_path)
    1818
     19AC_PATH_PROG(sudo_path, sudo)
     20AC_SUBST(sudo_path)
    1921AC_PATH_PROG(useradd_path, useradd)
    2022AC_SUBST(useradd_path)
     
    2729AC_SUBST(hesinfo_path)
    2830
    29 dnl Needed by bash.in
     31dnl Needed by modbash.in
    3032
    3133AC_PATH_PROG(bash_path, bash)
     
    3537AC_OUTPUT(admof)
    3638AC_OUTPUT(signup-scripts-backend)
     39AC_OUTPUT(modbash)
  • server/common/oursrc/lockeradm/signup-scripts-backend.in

    r1 r11  
    4848
    4949# Complain if user's uid is too low or too high
    50 complain("bad uid") unless($uid1 > @min_user_uid@ and $uid1 < (1 << 31));
     50complain("bad uid") unless($uid1 > 110 and $uid1 < (1 << 31));
    5151
    5252# Run ls to confirm user's .scripts-signup file
     
    7171# Add user to /etc/passwd
    7272`@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'`;
    7474# 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`;
    7676
    7777printexit("done", 0);
Note: See TracChangeset for help on using the changeset viewer.