Like this:
$("select[name='name'] option:eq(2)").attr("selected", "selected");
EDIT:
To do what you want in your new edit, that is, select the option that has the value of admin
:
$("select[name='name'] option:contains('admin')").attr("selected", "selected");
See it working.