Changeset 543

Show
Ignore:
Timestamp:
05/17/08 17:43:16 (7 months ago)
Author:
free
Message:

* Encrypt webmin password on the fly

Location:
cdd-utils/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • cdd-utils/trunk/debian/changelog

    r542 r543  
    1818  * Use squirrelmail via SSL 
    1919  * Added md5pw script 
     20  * Encrypt webmin password on the fly 
    2021 
    2122 -- Free Ekanayaka <free@64studio.com>  Thu, 08 May 2008 21:55:32 +0200 
  • cdd-utils/trunk/lib/server.sh

    r539 r543  
    202202webmin () { 
    203203 
     204    password=$1 
     205    if nullstr $password; then warning "No password given"; return; fi 
     206 
    204207    # Do not run with SSL 
    205208    cfg=/etc/webmin/miniserv.conf 
     
    211214    key='manager' 
    212215    sep=':' 
    213     val='$1$Vr6JgB.6$gVJ95a5DpY6pc9A0KvOfW.:::::::' 
     216    val=$(md5pw $password) 
    214217    if ! exists $cfg; then warning $cfg not found; return; fi 
    215218    add_key $key $sep $cfg 
  • cdd-utils/trunk/lib/suites.sh

    r539 r543  
    1818    cdd-config squirrelmail ares 
    1919    cdd-config samba 
    20     cdd-config webmin 
     20    cdd-config webmin manager 
    2121    cdd-config nfs server 
    2222    cdd-config squid