Koozali.org: home of the SME Server

unlocking user accounts

pete feeney

unlocking user accounts
« on: September 16, 2002, 04:53:00 PM »
I'm trying to unlock a user account using ssh
i'm able to set the account up but I'm unable to unlock the account using ssh!
any pointers on this
thanks pete

Robert L. Baer

Re: unlocking user accounts
« Reply #1 on: September 16, 2002, 07:01:13 PM »
have a try at

perl -e "use esmith::util; esmith::util::setUserPassword ('username', 'password');"

/sbin/e-smith/db accounts setprop username PasswordSet yes

pete feeney

Re: unlocking user accounts
« Reply #2 on: September 18, 2002, 02:00:37 PM »
thanks it worked
but after some testing it appears as thou '-' character is not liked is this a bug?