Package: rssh Version: 2.2.3-2 rssh logs about everything it's read from the config file... i'm getting 6+ lines every single rssh session. this is maybe useful when you're debugging, but it's certainly too much information to log at LOG_INFO setting every single session... this patch lowers them to LOG_DEBUG.
thanks -dean --- rssh-2.2.3/rsshconf.c.orig 2004-10-22 21:41:35.000000000 -0700 +++ rssh-2.2.3/rsshconf.c 2005-08-30 01:11:08.000000000 -0700 @@ -424,7 +424,7 @@ log_msg("line %d: syntax error parsing config file", lineno); return FALSE; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("allowing scp to all users"); opts->shell_flags |= RSSH_ALLOW_SCP; return TRUE; @@ -448,7 +448,7 @@ log_msg("line %d: syntax error parsing config file", lineno); return FALSE; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("allowing sftp to all users"); opts->shell_flags |= RSSH_ALLOW_SFTP; return TRUE; @@ -473,7 +473,7 @@ log_msg("line %d: syntax error parsing config file", lineno); return FALSE; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("allowing cvs to all users"); opts->shell_flags |= RSSH_ALLOW_CVS; return TRUE; @@ -498,7 +498,7 @@ log_msg("line %d: syntax error parsing config file", lineno); return FALSE; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("allowing rdist to all users"); opts->shell_flags |= RSSH_ALLOW_RDIST; return TRUE; @@ -523,7 +523,7 @@ log_msg("line %d: syntax error parsing config file", lineno); return FALSE; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("allowing rsync to all users"); opts->shell_flags |= RSSH_ALLOW_RSYNC; return TRUE; @@ -557,7 +557,7 @@ /* get rid of any old value for chroot path, assign new one */ if ( opts->chroot_path ) free(opts->chroot_path); - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("chrooting all users to %s", temp); /* we must not free temp, since opts points to it */ opts->chroot_path = temp; @@ -751,7 +751,7 @@ return FALSE; } if ( facname ){ - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("setting log facility to %s", facname); log_set_facility(fac); return TRUE; @@ -789,7 +789,7 @@ free(temp); return FALSE; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("setting umask to %#o", mask); opts->rssh_umask = mask; free(temp); @@ -845,7 +845,7 @@ * user lines we don't care about... */ if ( (strcmp(user, username)) ) return TRUE; - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("line %d: configuring user %s", lineno, user); if ( !(len = eat_colon(temp + pos)) ){ log_msg("syntax error parsing config file: line %d ", lineno); @@ -912,7 +912,7 @@ lineno); tmpmask = 077; } - log_set_priority(LOG_INFO); + log_set_priority(LOG_DEBUG); log_msg("setting %s's umask to %#o", user, tmpmask); opts->rssh_umask = tmpmask; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]