hi jim,
awk -F: '{print $1 ":" $2 ":" $3 ":" $4}' /etc/shadow > /tmp/shadow.tmp ---> will show all lines within shadow file but not including the one i has edited.
e.g:
name=blah
awk -F: -v user="$name" '$1 == user{print $1 ":" $2 ":" DUMMY ":" $4}' /etc/shadow > /tmp/shadow.tmp
From the script above, it will only print blah:

UMMY: at shadow.tmp
what i need is to print the rest of the users from shadow file including the modified.
e.g:
man:*:13994::::::
nagios:!:13994:0:99999:7:::
named:!:13994:0:99999:7:::
news:*:13994::::::
nobody:*:13994::::::
ntp:!:13994:0:99999:7:::
blah:

UMMY:
instead of only blah:

UMMY: