Changeset 485 for server/fedora/specs
- Timestamp:
- Oct 15, 2007, 8:33:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/fedora/specs/accountadm.spec
r392 r485 50 50 useradd -u 102 -g signup -d /afs/athena.mit.edu/contrib/scripts/signup -M signup || [ $? -eq 9 ] 51 51 52 %post53 cat >>/etc/sudoers <<END54 signup ALL=(root) NOPASSWD: /usr/sbin/useradd55 signup ALL=(root) NOPASSWD: /usr/sbin/groupadd56 signup ALL=(root) NOPASSWD: /usr/sbin/setquota57 END58 chmod 0440 /etc/sudoers59 60 %preun61 touch /etc/sudoers.tmp62 chmod 600 /etc/sudoers.tmp63 grep -v "^signup" /etc/sudoers > /etc/sudoers.tmp64 mv /etc/sudoers.tmp /etc/sudoers65 66 52 %postun 67 53 userdel signup
Note: See TracChangeset
for help on using the changeset viewer.