Quote:
Originally Posted by frank_rizzo
does this work?
Code:
awk -F: 'BEGIN{OFS=":"}{if(length($2) >2){$2="scrubbed"};print}' /etc/shadow
or
Code:
awk -F: '{if(length($2) >2){$2="scrubbed"};print $1,":",$2}' /etc/shadow
|
That is amazing, they both work!!
Thanks SOO Much!