{%
    if GetPathSuccess ~= true then
        echo("User " .. username .. " doesn't exist.")
    elseif GetPwd[1] == 0 then
        echo('Set snmp privacy password successfully.')
    elseif GetPwd[1] == -1 then
        echo('The length of user password is too long.\n')
        echo('User password should less than 21 characters.')
    elseif GetPwd[1] == -2 then
        echo('Input password contains incorrect characters.\n')
        echo('Correct character contains any digits, letters, space or the following characters: ' ..
            '`~!@#$%%^&*()-_=+\\|[{}];\'",<.>/?')
    elseif GetPwd[1] == -3 then
        echo('Confirm password error.')
    elseif GetPwd[1] == -5 then
        echo('The password cannot be empty.')
    end
%}