andres augusto gacha suarez writes:
when i use
( echo "old"; echo "new" ) |
/usr/lib/courier/courier-authlib/authsystem.passwd
i get
spawn /usr/bin/passwd
Changing password for andresgacha.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
so, i assume that expect and the autsystem.passwd works, but when i use
sqwebmail interface i cannot change password,
what would have to be the permissions over expect, autsystempasswd, thwy
have excecute for all and are owned by root,
Yes, authsystem.passwd is executed by authdaemond, actually. You can try
renaming the authsystem.passwd script, and replacing it with a stub:
#! /bin/bash
exec [path to real authsystem.passwd] >/tmp/passwd.log 2>&1
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get