1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/events/actions/init-passwords mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/events/actions/init-passwords |
2 |
|
|
--- e-smith-base-4.18.0/root/etc/e-smith/events/actions/init-passwords 2005-11-20 21:28:05.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/events/actions/init-passwords 2007-12-20 12:42:27.000000000 -0700 |
4 |
|
|
@@ -29,9 +29,9 @@ |
5 |
|
|
# Lock passwords for administrative accounts. |
6 |
|
|
#------------------------------------------------------------ |
7 |
|
|
|
8 |
|
|
-system("/usr/bin/passwd", "-l", "root") and |
9 |
|
|
+system("/usr/sbin/usermod", "-L", "root") and |
10 |
|
|
warn("Could not lock root account"); |
11 |
|
|
-system("/usr/bin/passwd", "-l", "admin") and |
12 |
|
|
+system("/usr/sbin/usermod", "-L", "admin") and |
13 |
|
|
warn("Could not lock admin account"); |
14 |
|
|
system("/usr/bin/smbpasswd", "-a", "-d", "-s", "admin") and |
15 |
|
|
warn("Could not lock admin account"); |