I'm working on a project aimed at system administration for a linux installation.
I need to perform some tasks like change the user password...
I was planning to use the subprocess module for this. I'm concerned about security so, what are the 'best practices' when doing this via python?
is subprocess sufficient, or is there something better out there for the job?
[EDIT]
I should add that this is not an interactive script, it will parse the values to the system's passwd program [/EDIT]