/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-4.18.0-passwdlock.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme8/e-smith-base-4.18.0-passwdlock.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Dec 20 23:12:01 2007 UTC (16 years, 6 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-base-4_18_0-83_el5_sme, e-smith-base-4_18_0-89_el5_sme, e-smith-base-4_18_0-90_el5_sme, e-smith-base-4_18_0-82_el5_sme, e-smith-base-4_18_0-100_el5_sme, e-smith-base-4_18_0-81_el5_sme, e-smith-base-4_18_0-104_el5_sme, e-smith-base-4_18_0-87_el5_sme, e-smith-base-4_18_0-92_el5_sme, e-smith-base-4_18_0-103_el5_sme, e-smith-base-4_18_0-99_el5_sme, e-smith-base-4_18_0-88_el5_sme, e-smith-base-4_18_0-94_el5_sme, e-smith-base-4_18_0-101_el5_sme, e-smith-base-4_18_0-98_el5_sme, e-smith-base-4_18_0-102_el5_sme
minor typo

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");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed