i decide to develop an ISP billing system.
i have a linux server that communicate with a cisco router.
how can i add user and config them with programming?
Gee. system() is not considered evil around here because of the fact that it usually produces system dependent code. system() is evil because of the overhead and the ridiculous security flaws.
@Denis: system() is not evil due to its portability issues. If it were, then use of .NET would be evil. Read the article, and I actually don't have a variant that I'd use.
However, check what RedX suggested. It looks like it might be a better solution than system().
As long as your filter the username for special characters, you should be OK. Just don't allow usernames like "foo; rm -rf /".
Linksys routers used to have a bug in their "ping" web page that would accept all kinds of junk in the hostname form field and then just called system("ping " + hostname). It was a nice way for people to hack their own routers and do stuff like increase the power output of the wireless system.