diff -urN gnome-system-tools-1.0.0/config.h.in gnome-system-tools-1.0.0-cmsj/config.h.in --- gnome-system-tools-1.0.0/config.h.in 2004-09-13 21:11:12.000000000 +0100 +++ gnome-system-tools-1.0.0-cmsj/config.h.in 2004-10-21 00:18:02.185573496 +0100 @@ -102,5 +102,8 @@ /* su executable path */ #undef SU_PATH +/* sudo executable path */ +#undef SUDO_PATH + /* Version number of package */ #undef VERSION diff -urN gnome-system-tools-1.0.0/configure.in gnome-system-tools-1.0.0-cmsj/configure.in --- gnome-system-tools-1.0.0/configure.in 2004-09-13 21:10:14.000000000 +0100 +++ gnome-system-tools-1.0.0-cmsj/configure.in 2004-10-21 00:17:49.621483528 +0100 @@ -41,6 +41,22 @@ dnl ===================================================== dnl ===================================================== +dnl search for sudo +dnl ===================================================== + +AC_PATH_PROG(SUDO_TOOL, sudo) +if test x"${SUDO_TOOL}" = xno; then + AC_MSG_ERROR([sudo executable not found in your path - should be installed]) +else + AC_DEFINE_UNQUOTED(SUDO_PATH, "${SUDO_TOOL}", [sudo executable path]) +fi + +dnl ===================================================== +dnl END: search for sudo +dnl ===================================================== + + +dnl ===================================================== dnl search for ssh dnl ===================================================== diff -urN gnome-system-tools-1.0.0/interfaces/common.glade.in gnome-system-tools-1.0.0-cmsj/interfaces/common.glade.in --- gnome-system-tools-1.0.0/interfaces/common.glade.in 2004-07-19 12:02:59.000000000 +0100 +++ gnome-system-tools-1.0.0-cmsj/interfaces/common.glade.in 2004-10-21 00:17:49.621483528 +0100 @@ -492,7 +492,7 @@ True - To acquire such privileges, enter your root password below. If you don't specify a password, you will be unable to modify your system configuration. + To acquire such privileges, enter your password below. If you don't specify a password, you will be unable to modify your system configuration. False False GTK_JUSTIFY_LEFT diff -urN gnome-system-tools-1.0.0/src/common/gst-auth.c gnome-system-tools-1.0.0-cmsj/src/common/gst-auth.c --- gnome-system-tools-1.0.0/src/common/gst-auth.c 2004-08-29 12:26:32.000000000 +0100 +++ gnome-system-tools-1.0.0-cmsj/src/common/gst-auth.c 2004-10-21 00:17:49.621483528 +0100 @@ -361,11 +361,12 @@ } /* these are the su args */ - su_args[0] = SU_PATH; - su_args[1] = "root"; - su_args[2] = "-c"; - su_args[3] = command->str; - su_args[4] = NULL; + su_args[0] = SUDO_PATH; + su_args[1] = SU_PATH; + su_args[2] = "root"; + su_args[3] = "-c"; + su_args[4] = command->str; + su_args[5] = NULL; gst_auth_do_authentication (tool, su_args); g_string_free (command, TRUE);