Example #1
0
    def __init__(self):
        super(UserAction, self).__init__()
        self.args = (Args.get_new_password_arg(
            "WARNING: This method of changing the "
            "password is dangerous - it may be saved in bash history."),
                     Args.get_change_password_arg(
                         "Change user password using interactive prompt"))

        self.flag_func_map = (("change-password", self.change_password), )
Example #2
0
    def __init__(self):
        super(UserAction, self).__init__()
        self.args = (
            Args.get_new_password_arg(),
            Args.get_change_password_arg("Change user password")
        )

        self.flag_func_map = (
            ("change-password", self.change_password),
        )
Example #3
0
    def __init__(self):
        super(UserAction, self).__init__()
        self.args = (
            Args.get_new_password_arg(),
            Args.get_change_password_arg("Change user password")
        )

        self.flag_func_map = (
            ("change-password", self.change_password),
        )
Example #4
0
    def __init__(self):
        super(UserAction, self).__init__()
        self.args = (
            Args.get_new_password_arg(
                "WARNING: This method of changing the "
                "password is dangerous - it may be saved in bash history."),
            Args.get_change_password_arg(
                "Change user password using interactive prompt")
        )

        self.flag_func_map = (
            ("change-password", self.change_password),
        )