What is your "small utility" made with? It looks like one is running as root and one isn't. Why do you need root to run those commands anyway?