Changes

Jump to navigation Jump to search
2,245 bytes removed ,  19:42, 24 November 2013
Line 576: Line 576:     
  sv t /service/httpd-e-smith
 
  sv t /service/httpd-e-smith
  −
==Password==
  −
===Password strength===
  −
  −
First a warning - Far too many systems out there have weak passwords and they will be broken into. Educating your users on the necessity of strong passwords is the best option. If that fails, here is how you change the password strength checking from 'strong' to 'normal', which was the setting in previous versions of SME. Be careful to use the exact capitalization.
  −
  −
config setprop passwordstrength Admin normal
  −
config setprop passwordstrength Users normal
  −
config setprop passwordstrength Ibays normal
  −
  −
It is also possible, but strongly discouraged, to disable password strength checking by setting to 'none'
  −
  −
none  : no check is performed on the password
  −
normal : the password must be composed of at least seven characters with uppercase and lowercase letters, numbers and non-alphanumeric characters
  −
strong : the restrictions are the same as for the normal level, but in addition, the password is verified by cryptlib which ensures its actual complexity
  −
===Change Password Users by the command line===
  −
  −
If you want to change password to your users by the command Line instead of the user panel of SME Server you can do it like this.
  −
  −
perl -e "use esmith::util;esmith::util::setUserPassword( 'username', 'password');";  /sbin/e-smith/signal-event  password-modify username
  −
  −
run it for each user separately and replace
  −
username
  −
and
  −
password
  −
with the appropriate values for each of your users.
  −
  −
===Signalling events : Signal-event===
  −
  −
The signal-event program takes an event name as an argument, and executes all of the actions in that event, providing the event name as the first parameter and directing all output to the system log. It works by listing the entries in the event directory and executing them in sequence. So for example, the command:
  −
  −
signal-event console-save
  −
  −
will perform all the actions associated with the console-save event, which is defined by the contents of the /etc/e-smith/events/console-save/ directory. This is exactly what the console user interface does when you select save at the end of the console configuration wizard.
  −
  −
[[SME_Server:Documentation:Developers_Manual:Chapter7#Standard_events_and_their_arguments| see all options]]
  −
  −
  −
----
  −
[[Category:Howto]]
 

Navigation menu