Replace and retain entries.

Replace and retain entries.
I have a certain users that will replaced a certain values, but if it has already a value it will retain its values.
Thanks

Data to be placed:
account_locked = false
loginretries = 0
pwdwarntime = 0
histsize = 0
minalpha = 0
minother = 0
minlen = 0
maxage = 0
minage = 0

SAMPLE:
cat /etc/security/user
Original:
oracle9i:
SYSTEM = "NONE"
admin = false
histsize = 0
minalpha = 0
minlen = 1

Output:
oracle9i:
SYSTEM = "NONE"
admin = false
histsize = 0
minalpha = 0
minlen = 0
account_locked = false
loginretries = 0
pwdwarntime = 0
maxage = 0
minage = 0
minother = 0

not clear.

can you explain what type of accounts need be retained, whic are not.

the old data will retain and it will follow all the data in the default.
thanks

This looks like AIX. You really should *NOT* edit this file directly. use the chuser command.

so desu ka,...
well i already edited manually... so for example if the data has already the default values, it will not change,but if the data is diffrent it should have changed. or if the data is missing it should place the correct data.