Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: pete feeney on September 16, 2002, 04:53:00 PM

Title: unlocking user accounts
Post by: pete feeney 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
Title: Re: unlocking user accounts
Post by: Robert L. Baer 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
Title: Re: unlocking user accounts
Post by: pete feeney 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?