Changeset 11
- Timestamp:
- Oct 1, 2006, 3:37:19 PM (18 years ago)
- Location:
- server
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/lockeradm/configure.in
r1 r11 17 17 AC_SUBST(grep_path) 18 18 19 AC_PATH_PROG(sudo_path, sudo) 20 AC_SUBST(sudo_path) 19 21 AC_PATH_PROG(useradd_path, useradd) 20 22 AC_SUBST(useradd_path) … … 27 29 AC_SUBST(hesinfo_path) 28 30 29 dnl Needed by bash.in31 dnl Needed by modbash.in 30 32 31 33 AC_PATH_PROG(bash_path, bash) … … 35 37 AC_OUTPUT(admof) 36 38 AC_OUTPUT(signup-scripts-backend) 39 AC_OUTPUT(modbash) -
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); -
server/common/patches/openafs-scripts.patch
r1 r11 148 148 149 149 AFS_STATCNT(afs_access); 150 + amode = amode & (VREAD | VWRITE);150 + amode = amode & ~VEXEC; 151 151 afs_Trace3(afs_iclSetp, CM_TRACE_ACCESS, ICL_TYPE_POINTER, avc, 152 152 ICL_TYPE_INT32, amode, ICL_TYPE_OFFSET, -
server/fedora/Makefile
r8 r11 109 109 110 110 $(allsrc): setup 111 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 111 112 rpmbuild $(rpm_args) -ba ${tmp_specs}/$@*.spec 112 113 -
server/fedora/specs/lockeradm.spec
r3 r11 29 29 %install 30 30 [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT 31 install -D modbashrc $RPM_BUILD_ROOT/usr/local/etc/modbashrc 32 install -D modbash $RPM_BUILD_ROOT/usr/local/bin/modbash 31 33 install -D admof $RPM_BUILD_ROOT/usr/local/sbin/admof 32 34 install -D signup-scripts-frontend $RPM_BUILD_ROOT/usr/local/sbin/signup-scripts-frontend 33 35 install -D signup-scripts-backend $RPM_BUILD_ROOT/usr/local/sbin/signup-scripts-backend 34 install -D bashrc $RPM_BUILD_ROOT/usr/local/etc/bashrc35 36 36 37 %clean … … 39 40 %files 40 41 %defattr(0644, root, root) 41 /usr/local/etc/ bashrc42 /usr/local/etc/modbashrc 42 43 %defattr(0755, root, root) 44 /usr/local/bin/modbash 43 45 /usr/local/sbin/admof 44 46 /usr/local/sbin/signup-scripts-backend … … 54 56 signup ALL=(root) NOPASSWD: /usr/sbin/useradd 55 57 signup ALL=(root) NOPASSWD: /usr/sbin/groupadd 56 signup ALL=(root) NOPASSWD: /usr/sbin/ edquota58 signup ALL=(root) NOPASSWD: /usr/sbin/setquota 57 59 END 60 chmod 0440 /etc/sudoers 58 61 59 62 %preun
Note: See TracChangeset
for help on using the changeset viewer.