Changeset 157 for nutchez-0.2/src


Ignore:
Timestamp:
Jun 4, 2010, 5:37:40 PM (14 years ago)
Author:
rock
Message:

增加密碼加密

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/client_install_func.sh

    r156 r157  
    196196do
    197197    echo -e "\n"
    198     read -p "Plz input nutchuser password of master node: " Nutchuser_Passwd
    199     read -p "plz input nutchuser password, again: " Nutchuser_Passwd2
     198    read -sp "Plz input nutchuser password of master node: " Nutchuser_Passwd
     199    echo
     200    read -sp "plz input nutchuser password, again: " Nutchuser_Passwd2
     201    echo
    200202        if [ "$Nutchuser_Passwd" == "$Nutchuser_Passwd2" ]; then
    201203            echo "Two Passwords match."
    202204        else
    203             echo "two passwords do not match, plz re-input nutchuser's password."
     205            echo "Two passwords don't match, plz re-input nutchuser's password."
    204206        fi
    205207done                                                                                                                                   
Note: See TracChangeset for help on using the changeset viewer.