search for: set_sasl_password

Displaying 2 results from an estimated 2 matches for "set_sasl_password".

2009 Jun 03
1
[PATCH node] Checks if storage is setup before setting the admin password. BZ#509339
...it $?' 1 2 13 15 +warn() { printf '%s\n' "$*" >&2; } + +if [[ ! "Config" =~ $(lvdisplay -C | awk '{ print $1 }') ]]; then + warn "Local storage must be configured prior to setting the administrator password." + exit 99 +fi + # Usage: set_sasl_password USER # Prompt(twice) for a password for the specified USER. # If they match, set that user's system password, -- 1.6.0.6
2010 Oct 27
0
[PATCH node] add password.py
...th_status + +def toggle_ssh_access(status): + ssh_config = augeas.Augeas("root=/") + ssh_config.set("/files/etc/ssh/sshd_config", status) + ssh_config.save() + ovirt_store_config("/etc/ssh/sshd_config") + os.system("service sshd reload") + +def set_sasl_password(user, password): + os.system("saslpasswd2 -a libvirt -p " + user) -- 1.7.2.3