[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Password Updated Script



 
    
Hello Buddies,

Here's a small "expect" script (under ~terrence@bucket:bin/chpw) that can 
let you change "siwc" and "http" passwords on other hosts.

Usage: chpw [/c] /u username /o old_password /n new_password host1 host2 ...

Example: 

% chpw /u siwc /o oddie /n newbie doc happy sleazy snotty grumpy jerry george elaine kramer 

and

% chpw /c /u http /o oddie /n newbie pixel mirach muwaya tittat

Add option /c (password challenge) when "passwd" on some hosts asks you:

Do you want (choose one letter only):

        Pronounceable passwords generated for you (g)
        A string of characters generated for you (c)
        A string of letters generated for you (l) ?
        To pick your password (p) ?

Enter choice here (q to quit): 
 

Hint:

1. Run the script on bucket
2. If the script cann't work, change the password manually.

Cheers,

-- 
Terrence Miao                          ...   __o        
ITS of University of Macquarie       ...    -\<,              liVe to biKe
9344-0361 t.miao@xxxxxxxxxxxxxxxxxx  .... (_)/(_) .. eaT to liVe   biKe to woRK
http://igloo.its.unimacq.edu.au		    woRK to eaT     

Google