bash file manipulation
Hi,How do the various admin tools like linuxconf / webmin or even Cpanel edit files?
For example.
I want to disable a user account. So, I change /etc/passwd so that their account is not able to execute programs or login. I know how thats done.
I also know how to use sed to replace text on-the-fly.
How do other admin tools accomplish this?
I am working on a little administration panel project
I know what modifications are needed to get the effect I want, its just a matter of making it happen that I need some pointers on.

