/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-4.18.0-passwdlock.patck
ViewVC logotype

Annotation of /rpms/e-smith-base/sme7/e-smith-base-4.18.0-passwdlock.patck

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


Revision 1.2 - (hide annotations) (download)
Thu Dec 20 23:12:01 2007 UTC (16 years, 6 months ago) by bytegw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
minor typo

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

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