Line 7: |
Line 7: |
| another box shadow file on SME servers (7.x/8.x). This tool is | | another box shadow file on SME servers (7.x/8.x). This tool is |
| functionally equivalent some python script that allow this kind of | | functionally equivalent some python script that allow this kind of |
− | manipulation. This could be used when the adminsitrator do not know the | + | manipulation. This could be used when the administrator do not know the |
− | plain apssword of its users and want to migrate a SME box. It can be run | + | plain password of its users and want to migrate a SME box. It can be run |
| from the command line or called from an other script. It allows you, for | | from the command line or called from an other script. It allows you, for |
| example, to tranfert all your users password after creating them with | | example, to tranfert all your users password after creating them with |
Line 17: |
Line 17: |
| ===Smecontribs repository for SME Server=== | | ===Smecontribs repository for SME Server=== |
| | | |
− | yum install --enablerepo=smecontribs smeserver-lazy_admin_tools | + | yum install --enablerepo=smecontribs smeserver-lazy_admin_tools smeserver-userpanel smeserver-mailsorting |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
| | | |
Line 59: |
Line 59: |
| lat-shadow -a -c "harry | fdasf57ertg73sdf" | | lat-shadow -a -c "harry | fdasf57ertg73sdf" |
| Update empty password field in /etc/shadow for user 'harry' from the command line, with password entered. | | Update empty password field in /etc/shadow for user 'harry' from the command line, with password entered. |
− |
| + | {{note box| You have to understand that it is an encrypted password which you have to give and not a new password in a clear text}} |
| + | |
| lat-shadow -a -i /root/shadow.list | | lat-shadow -a -i /root/shadow.list |
| Uses the arguments specified in /root/shadow.list to update user shadow encrypted password. | | Uses the arguments specified in /root/shadow.list to update user shadow encrypted password. |
− | | + | {{Note box| you could use the output file make by lat-dump to move users to a new SME Server}} |
| Please refer to /usr/doc/lazy-admin-tools/example.shadow for an example of an input file. | | Please refer to /usr/doc/lazy-admin-tools/example.shadow for an example of an input file. |
| | | |