sun_2588 0 Newbie Poster

Hello everyone , i am trying to write a python code which will setup user quota for a user home directory...... i am successful in completing all the basic configuration, like entry in fstab file running quotacheck command....

The only issue which i am facing is of edquota command .... the issue is, when i run this command
edquota -u user1

this will get open in an interactive mode, means it will create a tmp file and open it with vi editor to edit this file....which i cant manage through script.....

so any idea, how to process this....