I need to change values in a file owned by root (root password is constant)
The file is parameter file has below contents. The file is owned by root. My script is run by normal user and root password is constant and we can hardcode it.
ABCLimit: 90
SpoolLimit: 200
TimeLimit: 345
I need to change the value of SpooLimit from 200 to 400.
Can anybody please give code for this?

