A little script help
Hey everybody.
I not sure if this can be done. I am using this script at the moment. It a little password generator script I was wondering if anyone could help me out. I would like the First letter to be a Capital and the last two to be any digits (number's)? The one that I have puts capitals all over the place and sometimes it does not have any number's at all. I plan to use this for work for the I have run out of things to put as my password and I am not aloud to have the same password twice Quote:
|
Unless you really need it to be in the exact form of XX<garbage><num><num> I would check out pwgen
|
Let me know if you want anything explained ;)
Code:
#!/bin/bash |
I would use apg for this...
Hy,
apg = Automated password generator it has many options: * -n -> number of generated possword * -m -> min number of caracters that password contains * -x -> max number of caracters that password contains * -M -> mode: N must use numbers, C must use capitals, L must use small letters You can take a look here as well: http://7dpo.com/ |
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
|
How about a little awk :)
Code:
|
All times are GMT -5. The time now is 10:45 AM. |