/[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.2 - (show annotations) (download)
Wed Mar 26 17:01:51 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-2
- Fix gettext strings returned by password checks [SME: 4104]

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