Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Jáder on November 17, 2006, 07:40:35 PM
-
I just installed one SME7 with default password = 12345678
Those def pwd/users where created by LAT.
Now I´d like to change default password for all users to 87654321.123
How can I do this by shell or LAT?
I could to swear LAT had one lat-password... but didn´t find it! :(
Thanks
Jáder
-
Be sure to test, but if you run lat-users with the new password you should get a polite message saying 'updating existing entry' or 'updating existing values'.
In either case, you can run lat-dump -d, then edit the <servername>.Users file that gets created, replace all the passwords, then use lat-users to "restore" the dump file with the new passwords.
After running lat-dump you will have a new file 'lat-restore' that will show you the proper syntax for reloading the <servername>.Users file.
Don't run the whole lat-restore - that restores all of the dumped data (users, ibays, hosts, quotas, domains, groups, procmail rules, pseudonyms, and pptp permissions)
-
Thanks by your tip.
I'll try that on a VM someday next week.
This was a just entering in production server... and I decide take no changes and changed all 233 accounts password by hand!
Not a pleasant task so will really try later!
Thanks
Jáder