1 --- amanda-3.2.0/amandad-src/amandad.c~ 2010-10-06 18:36:28.000000000 +0200
2 +++ amanda-3.2.0/amandad-src/amandad.c 2010-11-29 14:23:20.580165324 +0100
7 + /* krb5 require the euid to be 0 */
8 + if (strcasecmp(auth, "krb5") == 0) {
9 + if(seteuid((uid_t)0) != 0) { error("Can't set euid to 0"); };
14 if (strcasecmp(auth, "krb5") != 0) {
16 dbprintf(_("WARNING: argv[0] not defined: check inetd.conf\n"));
19 - /* krb5 require the euid to be 0 */
20 - if (strcasecmp(auth, "krb5") == 0) {
21 - if(seteuid((uid_t)0) != 0) { error("Can't set euid to 0"); };
25 * Schedule to call protocol_accept() when new security handles
26 * are created on stdin.